u-boot/cpu/ppc4xx
Becky Bruce 9973e3c614 Change initdram() return type to phys_size_t
This patch changes the return type of initdram() from long int to phys_size_t.
This is required for a couple of reasons: long int limits the amount of dram
to 2GB, and u-boot in general is moving over to phys_size_t to represent the
size of physical memory.  phys_size_t is defined as an unsigned long on almost
all current platforms.

This patch *only* changes the return type of the initdram function (in
include/common.h, as well as in each board's implementation of initdram).  It
does not actually modify the code inside the function on any of the platforms;
platforms which wish to support more than 2GB of DRAM will need to modify
their initdram() function code.

Build tested with MAKEALL for ppc, arm, mips, mips-el. Booted on powerpc
MPC8641HPCN.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
2008-06-12 08:50:18 +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: Fix misspelled CONFIG_440SPE/440EPX/GRX config options 2008-06-06 16:10:41 +02: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_ddr.c ppc4xx: Consolidate PPC4xx SDRAM/DDR/DDR2 defines, part1 2008-06-03 20:21:53 +02:00
44x_spd_ddr2.c Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +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.c ppc4xx: Add 405EX(r) revision C PVR definitions and detection code 2008-05-13 20:22:01 +02:00
cpu_init.c ppc4xx: Enable Primordial Stack for 40x and Unify ECC Handling 2008-06-03 20:20:50 +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 Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
ecc.c ppc4xx: Use new 4xx SDRAM controller enable defines in common ECC code 2008-06-03 20:22:13 +02:00
ecc.h ppc4xx: Fix common ECC generation code for 440GP style platforms 2008-06-03 20:22:08 +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 Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +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: Remove superfluous dram_init() call or replace it by initdram() 2008-06-03 20:22:19 +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.c ppc4xx: Make USB working with CONFIG_4xx_DCACHE defined 2007-11-09 16:42:15 +01: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
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