u-boot-brain/board/freescale
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
..
common Replace DPRINTF with debug 2008-05-21 00:54:36 +02:00
m547xevb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m548xevb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5235evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5249evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5253evbe Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5275evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5329evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m5373evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m52277evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
m54455evb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc832xemds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc837xemds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc837xerdb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc7448hpc2 Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8260ads Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8266ads Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8313erdb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8315erdb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8323erdb Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8349emds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8349itx Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8360emds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8360erdk Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8540ads Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8541cds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8544ds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8548cds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8555cds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8560ads Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8568mds Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8610hpcd Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00
mpc8641hpcn Change initdram() return type to phys_size_t 2008-06-12 08:50:18 +02:00