mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-19 11:18:28 +00:00
9973e3c614
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> |
||
---|---|---|
.. | ||
common | ||
m547xevb | ||
m548xevb | ||
m5235evb | ||
m5249evb | ||
m5253evbe | ||
m5275evb | ||
m5329evb | ||
m5373evb | ||
m52277evb | ||
m54455evb | ||
mpc832xemds | ||
mpc837xemds | ||
mpc837xerdb | ||
mpc7448hpc2 | ||
mpc8260ads | ||
mpc8266ads | ||
mpc8313erdb | ||
mpc8315erdb | ||
mpc8323erdb | ||
mpc8349emds | ||
mpc8349itx | ||
mpc8360emds | ||
mpc8360erdk | ||
mpc8540ads | ||
mpc8541cds | ||
mpc8544ds | ||
mpc8548cds | ||
mpc8555cds | ||
mpc8560ads | ||
mpc8568mds | ||
mpc8610hpcd | ||
mpc8641hpcn |