uboot/include
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
..
asm-arm Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-avr32
asm-blackfin Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-i386 Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-m68k Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-microblaze Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-mips Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-nios Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-nios2 Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-ppc Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-sh Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
asm-sparc Change bd/gd memsize/ram_size to be phys_size_t. 2008-06-12 00:54:53 +02:00
bedbug
configs Merge branch 'master' of git://www.denx.de/git/u-boot-sh 2008-06-11 22:54:47 +02:00
cramfs
galileo
jffs2
linux NAND: Added support for 128-bit OOB, adapted 2008-06-11 00:30:22 -05:00
pcmcia
u-boot
.gitignore
4xx_i2c.h
74xx_7xx.h
405_dimm.h
405_mal.h
ACEX1K.h
MCD_dma.h
MCD_progCheck.h
MCD_tasksInit.h
SA-1100.h
_exports.h
ahci.h
altera.h
ambapp.h
api_public.h
arm920t.h
arm925t.h
arm926ejs.h
arm946es.h
armcoremodule.h
at45.h
at91rm9200_i2c.h
at91rm9200_net.h
ata.h
atmel_lcdc.h
bcd.h
bcm5221.h
bmp_layout.h
bzlib.h
circbuf.h
clps7111.h
command.h
common.h Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
commproc.h
config_cmd_all.h
config_cmd_default.h
console.h
crc.h
da9030.h
dataflash.h
devices.h
div64.h
dm9161.h
dp83848.h
dtt.h
e500.h
elf.h
environment.h
exports.h
ext2fs.h
fat.h
fdc.h
fdt.h
fdt_support.h
fis.h
flash.h
fpga.h
hush.h
i2c.h
i8042.h
ide.h
image.h Change lmb to use phys_size_t/phys_addr_t 2008-06-12 00:56:39 +02:00
ioports.h
keyboard.h
kgdb.h
lcd.h
lcdvideo.h
lh7a40x.h
lh7a400.h
lh7a404.h
libata.h
libfdt.h
libfdt_env.h fdt: unshadow global working fdt variable 2008-06-10 22:23:17 -04:00
linux_logo.h
lists.h
lmb.h Change lmb to use phys_size_t/phys_addr_t 2008-06-12 00:56:39 +02:00
logbuff.h
lpd7a400_cpld.h
lxt971a.h
lynxkdi.h
malloc.h
mb862xx.h
mii_phy.h
miiphy.h
mk48t59.h
mmc.h
mpc5xx.h
mpc5xxx.h
mpc8xx.h
mpc8xx_irq.h
mpc83xx.h 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h 2008-06-10 18:22:25 -05:00
mpc85xx.h 83xx/85xx: further localbus cleanups 2008-06-10 18:22:25 -05:00
mpc86xx.h 83xx/85xx/86xx: factor out Freescale Localbus defines out of mpc83xx.h 2008-06-10 18:22:25 -05:00
mpc106.h
mpc512x.h
mpc824x.h
mpc8220.h
mpc8260.h
mpc8260_irq.h
nand.h
net.h
nios-io.h
nios.h
nios2-epcs.h
nios2-io.h
nios2.h
ns7520_eth.h
ns9750_bbus.h
ns9750_eth.h
ns9750_mem.h
ns9750_ser.h
ns9750_sys.h
ns16550.h
ns87308.h
onenand_uboot.h
part.h
pc_keyb.h
pci.h
pci_ids.h
pcmcia.h
post.h
ppc4xx.h
ppc4xx_enet.h
ppc405.h
ppc440.h
ppc_asm.tmpl
ppc_defs.h
ps2mult.h
radeon.h
reiserfs.h
rtc.h
s3c24x0.h
s3c2400.h
s3c2410.h
s_record.h
sa1100.h
sata.h
scsi.h
sed156x.h
sed13806.h
serial.h
sha1.h
sm501.h
smiLynxEM.h
spartan2.h
spartan3.h
spd.h
spd_sdram.h
spi.h
spi_flash.h
status_led.h
stratixII.h
sym53c8xx.h
systemace.h
tsi108.h
universe.h
usb.h
usb_cdc_acm.h
usb_defs.h
usbdcore.h
usbdcore_ep0.h
usbdcore_mpc8xx.h
usbdcore_omap1510.h
usbdescriptors.h
version.h
vfd_logo.h
video.h
video_ad7176.h
video_ad7177.h
video_ad7179.h
video_easylogo.h
video_fb.h
video_font.h
video_logo.h
virtex2.h
vsc7385.h
w83c553f.h
watchdog.h
xilinx.h
xyzModem.h
zlib.h