summaryrefslogtreecommitdiff
path: root/cpu
AgeCommit message (Collapse)Author
2009-10-16Fix configuration so that multiple flash chips can be enabled2009.01-omapl138-200910162028Justin Waters
The original port only allowed you to enable the chip that contains the environment. This enables everything possible. It also adds configuration options to build for different environment locations by specifying the flash type during the configure step.
2009-09-09U-Boot: NAND: 4-bit ECC: Use CONFIG_NAND_CS macro for region selectionSekhar Nori
2009-09-09U-Boot: DA830: Add NAND 4-bit ECC supportSandeep Paulraj
2009-09-09Use the CONFIG_NAND_CS option in the DA8xx configuration file to select the ↵Sudhakar Rajashekara
region to which NAND chip is connected. Signed-off-by: Sudhakar Rajashekara <sudhakar.raj@ti.com>
2009-09-09Fix for 1 Bit hardware ECC.Sudhakar Rajashekara
Signed-off-by: Sudhakar Rajashekara <x0096290@linux-psp-server.(none)>
2009-09-09U-Boot: cleanup white space issuesSekhar Nori
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09U-Boot: cleanup clock handling codeSekhar Nori
A side-effect of this is that it allows geting PLLM and PLLC clocks for PLL1 Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09fix RMII support for DA850.Sekhar Nori
The EMAC driver currently hardcodes the RMII speed 100 bit. This will not work when there is a real phy connected. Tested on DA830. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09correct the name for get_link_speed in phy_tSekhar Nori
the get_link_speed API actually returns the link status. So call it get_link_status instead. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09clean up lowlevel init.Sekhar Nori
Removes unsued code. Based on latet LSP 2.20 release. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09fix i2c crash when input frequency is less than 1MHzSekhar Nori
discovered during QT tests Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09da8xx/ether.c white space cleanupSekhar Nori
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09merge davinci and da8xx emac driversSekhar Nori
This patch does not merge the files, but just the code. tested on DA830. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09Support for multiple instance of PLL and reading from PLL1.Sudhakar Rajashekara
Signed-off-by: Sudhakar Rajashekara <sudhakar.raj@ti.com>
2009-09-09U-Boot: da850 build cleanup.Sekhar Nori
cleanup da850 build to not create seperate directory for DA850. DA850/DA830 specific code can use CONFIF_{DA830|DA850}_SOC - the preferred way would be to use runtime check - but that facility is not present currently. Signed-off-by: Sekhar Nori <nsekhar@ti.com>
2009-09-09Freon Baseport for u-boot.Sudhakar Rajashekhara
This code has been only compile tested for SPI and NAND boot modes. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2009-09-09Primus port of u-boot.Sudhakar Rajashekhara
Tested for SPI and NAND boot mode on Primus EVM. Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
2009-01-16sh: Fix up rsk7203 target for out of tree buildKieran Bingham
Fix up rsk7203 target to build successfully using out-of-tree build. Signed-off-by: Kieran Bingham <kbingham@mpc-data.co.uk> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2009-01-14cpu/mpc824x/Makefile: fix warning with parallel buildsWolfgang Denk
Parallel builds would occasionally issue this build warning: ln: creating symbolic link `cpu/mpc824x/bedbug_603e.c': File exists Use "ln -sf" as quick work around for the issue. Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-01-14Merge branch 'master' of /home/wd/git/u-boot/custodiansWolfgang Denk
2009-01-13Change DDR tlb start entry to CONFIG param for 85xxHaiying Wang
So that we can locate the DDR tlb start entry to the value other than 8. By default, it is still 8. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2009-01-12MPC86xx: fix build warningsWolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2009-01-06at91rm9200: move define from lowlevel_init to headerJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-01-06at91rm9200: rename lowlevel init value to CONFIG_SYS_Jean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-12-19mpc8[56]xx: Put localbus clock in sysinfo and gdTrent Piepho
Currently MPC85xx and MPC86xx boards just calculate the localbus frequency and print it out, but don't save it. This changes where its calculated and stored to be more consistent with the CPU, CCB, TB, and DDR frequencies and the MPC83xx localbus clock. The localbus frequency is added to sysinfo and calculated when sysinfo is set up, in cpu/mpc8[56]xx/speed.c, the same as the other frequencies are. get_clocks() copies the frequency into the global data, as the other frequencies are, into a new field that is only enabled for MPC85xx and MPC86xx. checkcpu() in cpu/mpc8[56]xx/cpu.c will print out the local bus frequency from sysinfo, like the other frequencies, instead of calculating it on the spot. Signed-off-by: Trent Piepho <tpiepho@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19mpc86xx: Double local bus clock dividerTrent Piepho
The local bus clock divider should be doubled for both 8610 and 8641. Signed-off-by: Trent Piepho <tpiepho@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19mpc8568: Double local bus clock dividerTrent Piepho
The clock divider for the MPC8568 local bus should be doubled, like the other newer MPC85xx chips. Since there are now more chips with a 2x divider than a 1x, and any new 85xx chips will probably be 2x, invert the sense of the #if so that it lists the 1x chips instead of the 2x ones. Signed-off-by: Trent Piepho <tpiepho@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-1985xx: Fix the boot window issueDave Liu
If one custom board is using the 8MB flash, it is set as FLASH_BASE = 0xef000000, TEXT_BASE = 0xef780000. The current start.S code will be broken at switch_as. It is because the TLB1[15] is set as 16MB page size, EPN = TEXT_BASE & 0xff000000, RPN = 0xff000000. For the 8MB flash case, the EPN = 0xefxxxxxx, RPN = 0xffxxxxxx. Assume the virt address of switch_as is 0xef7ff18c, the real address of the instruction at switch_as should be 0xff7ff18c. the 0xff7ff18c is out of the range of the default 8MB boot LAW window 0xff800000 - 0xffffffff. So when we switch to AS1 address space at switch_as, the core can't fetch the instruction at switch_as any more. It will cause broken issue. Signed-off-by: Dave Liu <daveliu@freescale.com>
2008-12-19Set IVPR to kenrel entry point in second core boot pageHaiying Wang
Assuming the OSes exception vectors start from the base of kernel address, and the kernel physical starting address can be relocated to an non-zero address. This patch enables the second core to have a valid IVPR for debugger before kernel setting IVPR in CAMP mode. Otherwise, IVPR is 0x0 and it is not a valid value for second core which runs kernel at different physical address other than 0x0. Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2008-12-19mpc8xxx: LCRR[CLKDIV] is sometimes five bitsTrent Piepho
On newer CPUs, 8536, 8572, and 8610, the CLKDIV field of LCRR is five bits instead of four. In order to avoid an ifdef, LCRR_CLKDIV is set to 0x1f on all systems. It should be safe as the fifth bit was defined as reserved and set to 0. Code that was using a hard coded 0x0f is changed to use LCRR_CLKDIV. Signed-off-by: Trent Piepho <tpiepho@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-19mpc8[56]xx: Put localbus clock in device treeTrent Piepho
Export the localbus frequency in the device tree, the same way the CPU, TB, CCB, and various other frequencies are exported in their respective device tree nodes. Some localbus devices need this information to be programed correctly, so it makes sense to export it along with the other frequencies. Unfortunately, when someone wrote the localbus dts bindings, they didn't bother to define what the "compatible" property should be. So it seems no one was quite sure what to put in their dts files. Based on current existing dts files in the kernel source, I've used "fsl,pq3-localbus" and "fsl,elbc" for MPC85xx, which are used by almost all of the 85xx devices, and are looked for by the Linux code. The eLBC is apparently not entirely backward compatible with the pq3 LBC and so eLBC equipped platforms like 8572 won't use pq3-localbus. For MPC86xx, I've used "fsl,elbc" which is used by some of the 86xx systems and is also looked for by the Linux code. On MPC8641, I've also used "fsl,mpc8641-localbus" as it is also commonly used in dts files, some of which don't use "fsl,elbc" or any other acceptable name to match on. Signed-off-by: Trent Piepho <tpiepho@freescale.com> Acked-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Jon Loeliger <jdl@freescale.com>
2008-12-1985xx: Add support to populate addr map based on TLB settingsKumar Gala
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
2008-12-16Coding style cleanup, update CHANGELOG.Wolfgang Denk
Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-12-15i2c: merge all i2c_reg_read() and i2c_reg_write() into inline functionsTimur Tabi
All implementations of the functions i2c_reg_read() and i2c_reg_write() are identical. We can save space and simplify the code by converting these functions into inlines and putting them in i2c.h. Signed-off-by: Timur Tabi <timur@freescale.com> Acked-By: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2008-12-14Fix new found CFG_Jean-Christophe PLAGNIOL-VILLARD
Also fix some minor typos. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-12-13Remove compiler warning: target CPU does not support interworkingSergei Poselenov
This warning is issued by modern ARM-EABI GCC on non-thumb targets. Signed-off-by: Vladimir Panfilov <pvr@emcraft.com> Signed-off-by: Sergei Poselenov <sposelenov@emcraft.com>
2008-12-13Merge branch 'master' of git://git.denx.de/u-boot-mipsWolfgang Denk
2008-12-10MIPS: Flush data cache upon relocationStefan Roese
This patch now adds a flush to the data cache upon relocation. The current implementation is missing this. Only a comment states that it should be done. So let's really do it now. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-12-10MIPS: Add CONFIG_SKIP_LOWLEVEL_INITStefan Roese
This patch adds the CONFIG_SKIP_LOWLEVEL_INIT option to start.S. This enables support for boards where the lowlevel initialization is already done when U-Boot runs (e.g. via OnChip ROM). This will be used in the upcoming VCTH board support. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-12-10sh: Update sh timer functionNobuhiro Iwamatsu
Change to write/readX function and fix timer problem. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu.nobuhiro@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2008-12-10Fix compile error in building MBX860T.Ben Warren
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
2008-12-10Fixed path to sc520 SSI include fileGraeme Russ
Signed Off By: Graeme Russ <graeme.russ@gmail.com>
2008-12-09video: fix FADS823 and RRvision compiling issuesAnatolij Gustschin
Since commit 561858ee building for FADS823 and RRvision doesn't work. Let's include version.h and timestamp.h unconditionally to fix the problem. Signed-off-by: Anatolij Gustschin <agust@denx.de>
2008-12-09Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2008-12-09Section name should be ".data", not "data"Trent Piepho
Signed-off-by: Trent Piepho <tpiepho@freescale.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
2008-12-06Update U-Boot's build timestamp on every compilePeter Tyser
Use the GNU 'date' command to auto-generate a new U-Boot timestamp on every compile. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
2008-12-06Remove redundant armv4 flag from arm926ejs compile flagsRemy Bohmer
Currently the arm926ejs tree has the armv4 option set during compilation. This flag does not belong here because a arm926 CPU is always a armv5 CPU. Signed-off-by: Remy Bohmer <linux@bohmer.net>
2008-12-05Merge branch 'master' of git://git.denx.de/u-boot-at91Wolfgang Denk
2008-12-0485xx: init gd as early as possibleKumar Gala
Moved up the initialization of GD so C code like set_tlb() can use gd->flags to determine if we've relocated or not in the future. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Andy Fleming <afleming@freescale.com>
2008-12-0485xx: Fix relocation of CCSRBARKumar Gala
If the virtual address for CCSRBAR is the same after relocation but the physical address is changing we'd end up having two TLB entries with the same VA. Instead we new us the new CCSRBAR virt address + 4k as a temp virt address to access the old CCSRBAR to relocate it. Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Acked-by: Andy Fleming <afleming@freescale.com>