u-boot/board/MAI/AmigaOneG3SE
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
..
AmigaOneG3SE.c Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
articiaS.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
articiaS.h * Code cleanup: 2003-06-27 21:31:46 +00:00
articiaS_pci.c Code cleanup. 2006-11-30 18:02:20 +01:00
board_asm_init.S * Code cleanup: 2003-06-27 21:31:46 +00:00
cmd_boota.c board/[A-Za-c]*: Remove obsolete references to CONFIG_COMMANDS 2007-07-09 18:47:45 -05:00
config.mk * Code cleanup: 2003-06-27 21:31:46 +00:00
enet.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
flash.c * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
flash_new.c * Code cleanup: 2003-06-27 21:31:46 +00:00
i8259.c * Code cleanup: 2003-06-27 21:31:46 +00:00
i8259.h * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
interrupts.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
macros.h * Code cleanup: 2003-06-27 21:31:46 +00:00
Makefile Code cleanup. 2006-11-30 18:02:20 +01:00
memio.h * Code cleanup: 2003-06-27 21:31:46 +00:00
memio.S * Code cleanup: 2003-06-27 21:31:46 +00:00
memory_dump * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
nvram.c * Code cleanup: 2003-06-27 21:31:46 +00:00
ps2kbd.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
ps2kbd.h * Code cleanup: 2003-06-27 21:31:46 +00:00
serial.c GCC-4.x fixes: clean up global data pointer initialization for all boards. 2006-03-31 18:32:53 +02:00
short_types.h * Code cleanup: 2003-06-27 21:31:46 +00:00
smbus.c * Code cleanup: 2003-06-27 21:31:46 +00:00
smbus.h * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
start.txt Big white-space cleanup. 2008-05-21 00:14:08 +02:00
todo.txt * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
u-boot.lds Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb_uhci.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
usb_uhci.h * Code cleanup: 2003-06-27 21:31:46 +00:00
via686.c Big white-space cleanup. 2008-05-21 00:14:08 +02:00
via686.h * Patch by Thomas Frieden, 13 Nov 2002: 2002-11-19 11:04:11 +00:00
video.c Fix some compile issues for MAI board. 2007-08-06 01:51:08 +02:00