-
- Downloads
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>
Showing
- board/BuS/EB+MCF-EV123/EB+MCF-EV123.c 1 addition, 1 deletionboard/BuS/EB+MCF-EV123/EB+MCF-EV123.c
- board/LEOX/elpt860/elpt860.c 2 additions, 2 deletionsboard/LEOX/elpt860/elpt860.c
- board/MAI/AmigaOneG3SE/AmigaOneG3SE.c 1 addition, 1 deletionboard/MAI/AmigaOneG3SE/AmigaOneG3SE.c
- board/Marvell/db64360/sdram_init.c 1 addition, 1 deletionboard/Marvell/db64360/sdram_init.c
- board/Marvell/db64460/sdram_init.c 1 addition, 1 deletionboard/Marvell/db64460/sdram_init.c
- board/RPXClassic/RPXClassic.c 1 addition, 1 deletionboard/RPXClassic/RPXClassic.c
- board/RPXlite/RPXlite.c 1 addition, 1 deletionboard/RPXlite/RPXlite.c
- board/RPXlite_dw/RPXlite_dw.c 1 addition, 1 deletionboard/RPXlite_dw/RPXlite_dw.c
- board/RRvision/RRvision.c 1 addition, 1 deletionboard/RRvision/RRvision.c
- board/a3000/a3000.c 1 addition, 1 deletionboard/a3000/a3000.c
- board/adder/adder.c 1 addition, 1 deletionboard/adder/adder.c
- board/ads5121/ads5121.c 1 addition, 1 deletionboard/ads5121/ads5121.c
- board/alaska/alaska.c 1 addition, 1 deletionboard/alaska/alaska.c
- board/altera/dk1c20/dk1c20.c 1 addition, 1 deletionboard/altera/dk1c20/dk1c20.c
- board/altera/dk1s10/dk1s10.c 1 addition, 1 deletionboard/altera/dk1s10/dk1s10.c
- board/altera/ep1c20/ep1c20.c 1 addition, 1 deletionboard/altera/ep1c20/ep1c20.c
- board/altera/ep1s10/ep1s10.c 1 addition, 1 deletionboard/altera/ep1s10/ep1s10.c
- board/altera/ep1s40/ep1s40.c 1 addition, 1 deletionboard/altera/ep1s40/ep1s40.c
- board/amcc/acadia/memory.c 1 addition, 1 deletionboard/amcc/acadia/memory.c
- board/amcc/bamboo/bamboo.c 1 addition, 1 deletionboard/amcc/bamboo/bamboo.c
Loading
Please register or sign in to comment