u-boot-brain/cpu/ppc4xx
Stefan Roese 64852d09e0 ppc4xx/NAND_SPL: Consolidate 405 and 440 NAND booting code in start.S
This patch consolidates the 405 and 440 parts of the NAND booting code
selected via CONFIG_NAND_SPL. Now common code is used to initialize the
SDRAM by calling initdram() and to "copy/relocate" to SDRAM/OCM/etc.
Only *after* running from this location, nand_boot() is called.

Please note that the initsdram() call is now moved from nand_boot.c
to start.S. I experienced problems with some boards like Kilauea
(405EX), which don't have internal SRAM (OCM) and relocation needs to
be done to SDRAM before the NAND controller can get accessed. When
initdram() is called later on in nand_boot(), this can lead to problems
with variables in the bss sections like nand_ecc_pos[].

Signed-off-by: Stefan Roese <sr@denx.de>
Acked-by: Scott Wood <scottwood@freescale.com>
2008-06-03 20:21:49 +02:00
..
4xx_enet.c Fix crash on sequoia in ppc_4xx_eth_init 2008-04-18 00:48:27 -07:00
4xx_pci.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
4xx_pcie.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
4xx_uart.c ppc4xx: Add basic support for AMCC 460EX/460GT (1/5) 2008-03-15 07:28:03 +01:00
40x_spd_sdram.c ppc4xx: Consolidate some of the 405 and 440 macros/structs into 4xx 2007-10-31 21:20:50 +01:00
44x_spd_ddr2.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
44x_spd_ddr.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
bedbug_405.c cpu/[7a-ln-z]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:57:22 -05:00
cache.S ppc4xx: Add dcache_enable() for 440 2008-04-22 12:26:33 +02:00
commproc.c PPC4xx: Simplified post_word_{load, store} 2008-06-03 20:20:01 +02:00
config.mk cpu/ppc4xx/config.mk: Make a needlessly deffered expansion immediate. 2008-02-23 09:44:54 +01:00
cpu_init.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
cpu.c ppc4xx: Add 405EX(r) revision C PVR definitions and detection code 2008-05-13 20:22:01 +02:00
dcr.S cpu/ rtc/ include/: Remove lingering references to CFG_CMD_* symbols. 2007-07-10 10:27:39 -05:00
denali_data_eye.c ppc4xx: Remove weak binding from common Denali data-eye search code 2008-01-05 10:14:56 +01:00
denali_spd_ddr2.c ppc4xx: Fix compilation warning in denali_spd_ddr2.c 2008-04-29 14:44:54 +02:00
ecc.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
ecc.h ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
fdt.c ppc4xx: Add weak default ft_board_setup() routine 2008-05-08 11:01:09 +02:00
gpio.c ppc4xx: Add functionality to GPIO support 2008-01-04 11:38:45 +01:00
i2c.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
interrupts.c ppc4xx: Mask 'vec' with 0x1f in uic_interrupt() for bit set/clear 2008-03-27 09:54:03 +01:00
iop480_uart.c ppc4xx: Move cpu/ppc4xx/vecnum.h into include path 2008-01-09 06:32:58 +01:00
kgdb.S Big white-space cleanup. 2008-05-21 00:14:08 +02:00
Makefile ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
miiphy.c ppc4xx: miiphy.c reworked 2008-03-15 07:28:03 +01:00
ndfc.c ppc4xx: Add basic support for AMCC 460EX/460GT (2/5) 2008-03-15 07:28:04 +01:00
resetvec.S * Code cleanup: 2003-06-27 21:31:46 +00:00
sdram.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
sdram.h ppc4xx: Add initial Zeus (PPC405EP) board support 2007-08-14 14:44:41 +02:00
speed.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
start.S ppc4xx/NAND_SPL: Consolidate 405 and 440 NAND booting code in start.S 2008-06-03 20:21:49 +02:00
tlb.c ppc4xx: Fix crash on sequoia with cache enabled 2008-04-18 00:48:02 -07:00
traps.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +02:00
usb_ohci.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb_ohci.h Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone. 2005-08-01 16:41:48 +02:00
usb.c ppc4xx: Make USB working with CONFIG_4xx_DCACHE defined 2007-11-09 16:42:15 +01:00
usbdev.c ppc4xx: Move cpu/ppc4xx/vecnum.h into include path 2008-01-09 06:32:58 +01:00
usbdev.h Add support for AMCC PPC440EP/GR eval boards Yosemite and Yellowstone. 2005-08-01 16:41:48 +02:00