summaryrefslogtreecommitdiff
path: root/cpu
AgeCommit message (Collapse)Author
2008-01-17ColdFire: Add MCF547x_8x cpu archTsiChungLiew
Signed-off-by: TsiChungLiew <[email protected]> Signed-off by: John Rigby <[email protected]>
2008-01-17ColdFire: Add MCF5227x cpu and MCF52277EVB support-2TsiChungLiew
Signed-off-by: TsiChungLiew <[email protected]> Signed-off by: John Rigby <[email protected]>
2008-01-17ColdFire: Add M5373EVB platform support - 2TsiChungLiew
Signed-off-by: TsiChungLiew <[email protected]> Signed-off by: John Rigby <[email protected]>
2008-01-17ColdFire: PCI and misc updates for MCF5445xTsiChungLiew
Signed-off-by: TsiChungLiew <[email protected]> Signed-off by: John Rigby <[email protected]>
2008-01-17mpc83xx: Fix the fatal conflict of mergeDave Liu
The commit 9e89647889cd4b5ada5b5e7cad6cbe55737a08d7 will cause the mpc8315erdb board can't boot up. The patch fix that bug, and remove the duplicated #ifdef CFG_SPCR_TSECEP code and clean the SCCR_TSEC2 for MPC8313E processor. Signed-off-by: Dave Liu <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
2008-01-17Merge branch 'master' of /home/stefan/git/u-boot/u-bootStefan Roese
2008-01-1785xx: Get ride of old TLB setup codeKumar Gala
Now that all boards have been converted, remove old config code and the config option for the new style. Signed-off-by: Kumar Gala <[email protected]>
2008-01-1785xx: Reworked initial processor initKumar Gala
Reworked the initial processor initialzation sequence: * introduced cpu_early_init_f that is run in address space 1 (AS=1) * Moved TLB/LAW and CCSR init into cpu_early_init_f() * Reworked initial asm code to do most of the core init before TLBs The main reasons for these changes are to allow handling of 36-bit phys addresses in the future and some of the issues that will exist when we do that. There are a few caveats on what can be initialized via the LAW and TLB static tables: * TLB entry 14/15 can't be initialized via the TLB table * any LAW that covers the implicit boot window (4G-8M to 4G) must map to the code that is currently executing. Signed-off-by: Kumar Gala <[email protected]>
2008-01-1785xx: Introduce new tlb APIKumar Gala
Add a set of functions to manipulate TLB entries: * set_tlb() - write a tlb entry * invalidate_tlb() - invalidate a tlb array * disable_tlb() - disable a variable size tlb entry * init_tlbs() - setup initial tlbs based on static table Signed-off-by: Kumar Gala <[email protected]>
2008-01-1685xx: Remove old style of LAW initKumar Gala
All boards are now using the new fsl_law code so we can drop the old version. Signed-off-by: Kumar Gala <[email protected]>
2008-01-1685xx: Move LAW init code into CKumar Gala
Move the initialization of the LAWs into C code and provide an API to allow modification of LAWs after init. Board code is responsible to provide a law_table and num_law_entries. We should be able to use the same code on 86xx as well. Signed-off-by: Kumar Gala <[email protected]>
2008-01-16Merge branch 'master' of git://www.denx.de/git/u-boot-shWolfgang Denk
2008-01-16mpc83xx: add support for more system clock performance controlsKim Phillips
System registers that are modified are the Arbiter Configuration Register (ACR), the System Priority Control Register (SPCR), and the System Clock Configuration Register (SCCR). Signed-off by: Michael F. Reiss <[email protected]> Signed-off by: Joe D'Abbraccio <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
2008-01-16mpc83xx: Add config of eTSEC emergency priority in SPCRDave Liu
The TSEC emergency priority definition of 831x/837x is different than the definition of 834x in SPCR register. Add the other config of TSEC emergency priority into cpu_init.c Signed-off-by: Dave Liu <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
2008-01-15sh: Add support SH3 and SH7720Yoshihiro Shimoda
Signed-off-by: Yoshihiro Shimoda <[email protected]> CC: Nobuhiro Iwamatsu <[email protected]> Acked-by: Nobuhiro Iwamatsu <[email protected]>
2008-01-15ppc4xx: Remove compiler warning in cpu/ppc4xx/44x_spd_ddr2.cStefan Roese
Signed-off-by: Stefan Roese <[email protected]>
2008-01-13MPC8xx FEC driver: fix compiler warning.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2008-01-12MPC5200: don't use hardcoded MBAR address in Bestcomm firmwareOliver Weber
Signed-off-by: Oliver Weber <[email protected]>
2008-01-12Fix linker scripts: add NOLOAD atribute to .bss/.sbss sectionsWolfgang Denk
With recent toolchain versions, some boards would not build because or errors like this one (here for ocotea board when building with ELDK 4.2 beta): ppc_4xx-ld: section .bootpg [fffff000 -> fffff23b] overlaps section .bss [fffee900 -> fffff8ab] For many boards, the .bss section is big enough that it wraps around at the end of the address space (0xFFFFFFFF), so the problem will not be visible unless you use a 64 bit tool chain for development. On some boards however, changes to the code size (due to different optimizations) we bail out with section overlaps like above. The fix is to add the NOLOAD attribute to the .bss and .sbss sections, telling the linker that .bss does not consume any space in the image. Signed-off-by: Wolfgang Denk <[email protected]>
2008-01-12MPC512X: Cleanup bus clock names.Grzegorz Bernacki
Signed-off-by: Grzegorz Bernacki <[email protected]>
2008-01-12ads5121: Added support for FDT.Grzegorz Bernacki
Signed-off-by: Grzegorz Bernacki <[email protected]>
2008-01-12Fixed syntax error in function init_e300_core() of mpc83xx/start.S ifHeiko Schocher
Signed-off-by: Timur Tabi <[email protected]> Signed-off-by: Heiko Schocher <[email protected]>
2008-01-12added basic support for the MUNICes board.Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]>
2008-01-12Added support for the mgcoge board from keymile.Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]>
2008-01-12Enable SMC microcode relocation patch for SMC1.Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]>
2008-01-12Added support for the mgsuvd board from keymile.Heiko Schocher
Signed-off-by: Heiko Schocher <[email protected]>
2008-01-12Merge branch 'master' of git://www.denx.de/git/u-boot-ppc4xxWolfgang Denk
2008-01-12Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk
2008-01-10mpc83xx: Fix the bug of 266MHz data rate DDRDave Liu
The DDR doesn't work on the 266MHz data rate, the patch fix the bug. Signed-off-by: Dave Liu <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
2008-01-10mpc83xx: add "fsl, qe" compatible fixupsAnton Vorontsov
New device trees will use "fsl,qe" compatible properties. Signed-off-by: Anton Vorontsov <[email protected]> Signed-off-by: Kim Phillips <[email protected]>
2008-01-10Merge commit 'wd/master'Jon Loeliger
2008-01-1086xx: Support 2GB DIMMsBecky Bruce
Configure the number of bits used to address the banks inside the SDRAM device. The default register value of 0 means 2 bits to address 4 banks. Higher capacity devices like a 2GB DIMM require 3 bits to address 8 banks. Signed-off-by: Becky Bruce <[email protected]>
2008-01-10ppc4xx: Fix dflush() to restore DVLIM registerLarry Johnson
Signed-off-by: Larry Johnson <[email protected]>
2008-01-10Fix Ethernet init() return codesBen Warren
Change return values of init() functions in all Ethernet drivers to conform to the following: >=0: Success <0: Failure All drivers going forward should return 0 on success. Current drivers that return 1 on success were left as-is to minimize changes. Signed-off-by: Ben Warren <[email protected]> Acked-by: Stefan Roese <[email protected]> Acked-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]> Acked-by: Kim Phillips <[email protected]> Acked-by: Haavard Skinnemoen <[email protected]> Acked-By: Timur Tabi <[email protected]>
2008-01-09Add QE brg freq and correct qe bus freq fdt update codeKim Phillips
Signed-off-by: Kim Phillips <[email protected]> Signed-off-by: Andy Fleming <[email protected]>
2008-01-0985xx: add ability to upload QE firmwareTimur Tabi
Define the layout of a binary blob that contains a QE firmware and instructions on how to upload it. Add function qe_upload_firmware() to parse the blob and perform the actual upload. Add command-line command "qe fw" to take a firmware blob in memory and upload it. Update ft_cpu_setup() on 85xx to create the 'firmware' device tree node if U-Boot has uploaded a firmware. Fully define 'struct rsp' in immap_qe.h to include the actual RISC Special Registers. Signed-off-by: Timur Tabi <[email protected]>
2008-01-0985xx: Remove cache config from configs.hKumar Gala
Either use the standard defines in asm/cache.h or grab the information at runtime from the L1CFG SPR. Also, minor cleanup in cache.h to make the code a bit more readable. Signed-off-by: Kumar Gala <[email protected]>
2008-01-09Reworked FSL Book-E TLB macros to be more readableKumar Gala
The old macros made it difficult to know what WIMGE and perm bits were set for a TLB entry. Actually use the bit masks for these items since they are only a single bit. Also moved the macros into mmu.h out of e500.h since they aren't specific to e500. Signed-off-by: Kumar Gala <[email protected]>
2008-01-09Merge branch 'master' of git://www.denx.de/git/u-boot-usbWolfgang Denk
2008-01-09fix various commentsMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <[email protected]>
2008-01-09fix comments with new drivers organizationMarcel Ziswiler
Signed-off-by: Marcel Ziswiler <[email protected]>
2008-01-09Fix and optimize MII operations on FEC (MPC8xx) controllersGuennadi Liakhovetski
This patch fixes several issues at least on a MPC885 based system with two FEC interfaces used in MII mode. 1. PHY discovery should first read PHY_PHYIDR2 register and only then PHY_PHYIDR1 like cpu/mpc8xx/fec.c::mii_discover_phy() does it, otherwise the values read are wrong. Also notice, that PHY discovery cannot work on MPC88x / MPC87x in setups with both FECs active at all in its present form, because for both interfaces the registers from FEC 1 are used to communicate over MII. 2. Remove code duplication for resetting the FEC by isolating it into a separate function. 3. Initialize MII on FEC 1 when communicating over FEC 2 in fec_init(). 4. Optimize mii_init() to only reset the FEC 1 controller once. 5. Fix a typo in mii_init() using index i instead of j thus potentially leading to unpredictable results. Signed-off-by: Guennadi Liakhovetski <[email protected]>
2008-01-09Merge git://www.denx.de/git/u-bootMarkus Klotzbuecher
Conflicts: board/tqm5200/tqm5200.c
2008-01-09Coding Style clenaup; update CHANGELOGWolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2008-01-09IXP: Add full baud-rate support for ixp42x, ixp45x and ixp46xJean-Christophe PLAGNIOL-VILLARD
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
2008-01-09Merge branch 'master' of git://www.denx.de/git/u-boot-mpc83xxWolfgang Denk
2008-01-09Merge branch 'lwmon5-no-ocm'Stefan Roese
2008-01-09ppc4xx: Add CFG_POST_ALT_WORD_ADDR to support non OCM POST WORD storageStefan Roese
The privious 4xx POST implementation only supported storing the POST WORD in OCM. Since we need to reserve the OCM on LWMON5 for the logbuffer we need to store the POST WORD in some other non volatile location. This patch adds CFG_POST_ALT_WORD_ADDR to specify an address for such a location. Signed-off-by: Stefan Roese <[email protected]>
2008-01-09ppc4xx: Add 44x cache locking to better support init-ram in d-cacheStefan Roese
This patch adds support for locking the init-ram/stack in d-cache, so that other regions may use d-cache as well Note, that this current implementation locks exactly 4k of d-cache, so please make sure that you don't define a bigger init-ram area. Take a look at the lwmon5 440EPx implementation as a reference. Signed-off-by: Stefan Roese <[email protected]>
2008-01-09ppc4xx: Move cpu/ppc4xx/vecnum.h into include pathMatthias Fuchs
This patch allows the use of 4xx interrupt vector number defines in board specific code outside cpu/ppc4xx. Signed-off-by: Matthias Fuchs <[email protected]>