summaryrefslogtreecommitdiff
path: root/cpu/ppc4xx
AgeCommit message (Collapse)Author
2007-06-01ppc4xx: Add NAND booting support for AMCC Bamboo (440EP) eval boardStefan Roese
This patch adds NAND booting support for the AMCC Bamboo eval board. Since the NAND-SPL boot image is limited to 4kbytes, this version only supports the onboard 64MBytes of DDR. The DIMM modules can't be supported, since the setup code for I2C DIMM autodetection and configuration is too big for this NAND bootloader. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01NAND: Add hardware ECC support to the PPC4xx NAND driver ndfc.cStefan Roese
This patch adds hardware ECC support to the NDFC driver. It also changes the register access from using the "simple" in32/out32 functions to the in_be32/out_be32 functions, which make sure that the access is correctly synced. This is the only recommended access to SoC registers in the current Linux kernel. Signed-off-by: Stefan Roese <sr@denx.de>
2007-06-01ppc4xx: 44x DDR driver code cleanup and small fix for BambooStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-24ppc4xx: setup 440EPx/GRx ZMII/RGMII bridge depending on PFC register content.Matthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-04-18ppc4xx: Add output for bootrom location to 405EZ portsStefan Roese
Now 405EZ ports also show upon bootup from which boot device they are configured to boot: U-Boot 1.2.0-gd3832e8f-dirty (Apr 18 2007 - 07:47:05) CPU: AMCC PowerPC 405EZ Rev. A at 199.999 MHz (PLB=133, OPB=66, EBC=66 MHz) Bootstrap Option E - Boot ROM Location EBC (32 bits) 16 kB I-Cache 16 kB D-Cache Board: Acadia - AMCC PPC405EZ Evaluation Board Signed-off-by: Stefan Roese <sr@denx.de>
2007-04-12ppc4xx: Fix i2c divisor calcularion for PPC4xxJeffrey Mann
This patch fixes changes the i2c_init(...) function to use the function get_OPB_freq() rather than calculating the OPB speed by sysInfo.freqPLB/sysInfo.pllOpbDiv. The get_OPB_freq() function is specific per processor. The prior method was not and so was calculating the wrong speed for some PPC4xx processors. Signed-off-by: Jeffrey Mann <mannj@embeddedplanet.com> Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese
Additional RAM information is now printed upon powerup, like DDR2 frequency and CAS latency. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-31ppc4xx: Update 44x_spd_ddr2 code (440SP/440SPe)Stefan Roese
Fix a bug in the auto calibration routine. This driver now runs more reliable with the tested modules. It's also tested with 167MHz PLB frequency (667MHz DDR2 frequency) on the Katmai. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24Merge with /home/stefan/git/u-boot/acadiaStefan Roese
2007-03-24[PATCH] Add 4xx GPIO functionsStefan Roese
This patch adds some 4xx GPIO functions. It also moves some of the common code and defines into a common 4xx GPIO header file. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-24[PATCH] Clean up 40EZ/Acadia supportStefan Roese
This patch cleans up all the open issue of the preliminary Acadia support. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-21Merge with /home/stefan/git/u-boot/acadiaStefan Roese
2007-03-21[PATCH] Add AMCC PPC405EZ supportStefan Roese
This patch adds support for the new AMCC 405EZ PPC. It is in preparation for the AMCC Acadia board support. Please note that this Acadia/405EZ support is still in a beta stage. Still lot's of cleanup needed but we need a preliminary release now. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08[PATCH] 4xx: allow CONFIG_I2C_CMD_TREE without CONFIG_I2C_MULTI_BUSMatthias Fuchs
Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com>
2007-03-08Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk
2007-03-08Merge with /home/stefan/git/u-boot/yucca-ddr2Stefan Roese
2007-03-08[PATCH] Update AMCC Luan 440SP eval board supportStefan Roese
The AMCC Luan now uses the common 440SP(e) DDR SPD code for DDR inititializition. This includes DDR auto calibration and support for different DIMM modules, instead of the fixed setup used in the earlier version. This patch also enables the cache in FLASH for the startup phase of U-Boot (while running from FLASH). After relocating to SDRAM the cache is disabled again. This will speed up the boot process, especially the SDRAM setup, since there are some loops for memory testing (auto calibration). Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-08ppc4xx: Update 440SP/440SPe DDR SPD setup code to support 440SPStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-07Merge with /home/wd/git/u-boot/custodian/u-boot-ppc4xxWolfgang Denk
2007-03-07[PATCH] Fix AMCC 44x SPD SDRAM init code to support 2 DIMM'sStefan Roese
This patch fixes a problem that occurs when 2 DIMM's are used. This problem was first spotted and fixed by Gerald Jackson <gerald.jackson@reaonixsecurity.com> but this patch fixes the problem in a little more clever way. This patch also adds the nice functionality to dynamically create the TLB entries for the SDRAM (tlb.c). So we should never run into such problems with wrong (too short) TLB initialization again on these platforms. As this feature is new to the "old" 44x SPD DDR driver, it has to be enabled via the CONFIG_PROG_SDRAM_TLB define. Signed-off-by: Stefan Roese <sr@denx.de>
2007-03-06Restructure POST directory to support of other CPUs, boards, etc.Wolfgang Denk
2007-03-01Merge with /home/stefan/git/u-boot/denx-merge-srStefan Roese
2007-03-01[PATCH] Update AMCC Katmai 440SPe eval board supportStefan Roese
This patch updates the recently added Katmai board support. The biggest change is the support of ECC DIMM modules in the 440SP(e) SPD DDR2 driver. Please note, that still some problems are left with some memory configurations. See the driver for more details. Signed-off-by: Stefan Roese <sr@denx.de>
2007-02-27Minor code cleanup.Wolfgang Denk
2007-02-20[PATCH] Add support for the AMCC Katmai (440SPe) eval boardStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-02-20[PATCH] PPC4xx: Add 440SP(e) DDR2 SPD DIMM supportStefan Roese
This patch adds support for the DDR2 controller used on the 440SP and 440SPe. It is tested on the Katmai (440SPe) eval board and works fine with the following DIMM modules: - Corsair CM2X512-5400C4 (512MByte per DIMM) - Kingston ValueRAM KVR667D2N5/512 (512MByte per DIMM) - Kingston ValueRAM KVR667D2N5K2/2G (1GByte per DIMM) This patch also adds the nice functionality to dynamically create the TLB entries for the SDRAM (tlb.c). So we should never run into such problems with wrong (too short) TLB initialization again on these platforms. Signed-off-by: Stefan Roese <sr@denx.de>
2007-02-20[PATCH] PPC4xx: Split 4xx SPD SDRAM init routines into 2 filesStefan Roese
Since the existing 4xx SPD SDRAM initialization routines for the 405 SDRAM controller and the 440 DDR controller don't have much in common this patch splits both drivers into different files. This is in preparation for the 440 DDR2 controller support (440SP/e). Signed-off-by: Stefan Roese <sr@denx.de>
2007-02-20[PATCH] PPC4xx: Add support for multiple I2C bussesStefan Roese
This patch adds support for multiple I2C busses on the PPC4xx platforms. Define CONFIG_I2C_MULTI_BUS in the board config file to make use of this feature. It also merges the 405 and 440 i2c header files into one common file 4xx_i2c.h. Also the 4xx i2c reset procedure is reworked since I experienced some problems with the first access on the 440SPe Katmai board. Signed-off-by: Stefan Roese <sr@denx.de>
2007-02-02[PATCH] Correctly display PCI arbiter en-/disabled on some 4xx boardsStefan Roese
Previously the strapping DCR/SDR was read to determine if the internal PCI arbiter is enabled or not. This strapping bit can be overridden, so now the current status is read from the correct DCR/SDR register. Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-31[PATCH] Update 440EPx/440GRx cpu detectionStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-19Merge with /home/hs/SC3/u-boot-devWolfgang Denk
2007-01-18[PATCH] Fix: Compilerwarnings for SC3 board.Heiko Schocher
The EBC Configuration Register is now by CFG_EBC_CFG definable Added JFFS2 support for the SC3 board. Signed-off-by: Heiko Schocher <hs@denx.de>
2007-01-18[PATCH] Add support for AMCC Taishan PPC440GX eval boardStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-15Merge with /home/hs/SC3/u-bootWolfgang Denk
Some code cleanup.
2007-01-15[PATCH] Fix 440SPe rev B detection from previous patchStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-13[PATCH] Update 440SP(e) cpu revisionsStefan Roese
Also display enabled/disabled RAID 6 support for 440SP/440SPe PPC's. Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-11 Added support for the SOLIDCARD III board from EurodesignHeiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2007-01-06[PATCH] 44x: Fix problem with DDR controller setup (refresh rate)Stefan Roese
This patch fixes a problem with an incorrect setup for the refresh timer of the 44x DDR controller in the file cpu/ppc4xx/sdram.c Signed-off-by: Stefan Roese <sr@denx.de>
2007-01-05[PATCH] Add DDR2 optimization code for Sequoia (440EPx) boardStefan Roese
This code will optimize the DDR2 controller setup on a board specific basis. Note: This code doesn't work right now on the NAND booting image for the Sequoia board, since it doesn't fit into the 4kBytes for the SPL image. Signed-off-by: Stefan Roese <sr@denx.de>
2006-12-24Merge with /home/hs/TQ/u-boot-devWolfgang Denk
2006-12-21Added support for the TQM8272 board from TQHeiko Schocher
Signed-off-by: Heiko Schocher <hs@denx.de>
2006-11-28[PATCH] PPC4xx: 440SP Rev. C detection addedStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27Merge with /home/sr/git/u-boot/denx-alpr-merge-testWolfgang Denk
2006-11-27[PATCH] 4xx_enet.c: Correct the setting of zmiifer registerStefan Roese
Patch below corrects the setting of the zmiifer register, it was overwritting the register rather than ORing the settings. Signed-off-by: Neil Wilson <NWilson@airspan.com> Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27[PATCH] 4xx: Fix problem with board specific reset code (now for real)Stefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27[PATCH] 4xx: Fix problem with board specific reset codeStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27[PATCH] Remove testing 4xx enet PHY setupStefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27[PATCH] Update Prodrive ALPR board support (440GX)Stefan Roese
Signed-off-by: Stefan Roese <sr@denx.de>
2006-11-27Merge with /home/stefan/git/u-boot/denxStefan Roese
2006-11-22[PATCH] PPC4xx start.S: Fix for processor errataStefan Roese
Fixed cpu/ppc4xx/start.S for 440EPx Errata: further corrects PPC440EPx errata 1.12: 440_33 by moving patch up in code. Signed-off-by: Jeff Mann <mannj@embeddedplanet.com> Signed-off-by: Stefan Roese <sr@denx.de>