diff options
author | Becky Bruce <becky.bruce@freescale.com> | 2008-10-31 17:13:32 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-11-03 11:05:01 -0600 |
commit | 4c77de3f144ca088c3867bd6240718c10f5a9d69 (patch) | |
tree | 3dd1117f16ecc417521e9589eca96d9a082c91f9 /board/freescale/mpc8610hpcd | |
parent | 104992fc541302a6bac74448e01e7fdad20abca0 (diff) | |
download | u-boot-imx-4c77de3f144ca088c3867bd6240718c10f5a9d69.zip u-boot-imx-4c77de3f144ca088c3867bd6240718c10f5a9d69.tar.gz u-boot-imx-4c77de3f144ca088c3867bd6240718c10f5a9d69.tar.bz2 |
86xx: Make dram_size a phys_size_t
It's currently a long and should be phys_size_t.
Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Diffstat (limited to 'board/freescale/mpc8610hpcd')
-rw-r--r-- | board/freescale/mpc8610hpcd/mpc8610hpcd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/board/freescale/mpc8610hpcd/mpc8610hpcd.c b/board/freescale/mpc8610hpcd/mpc8610hpcd.c index 8d3b822..02dc744 100644 --- a/board/freescale/mpc8610hpcd/mpc8610hpcd.c +++ b/board/freescale/mpc8610hpcd/mpc8610hpcd.c @@ -37,7 +37,7 @@ #include "../common/pixis.h" void sdram_init(void); -long int fixed_sdram(void); +phys_size_t fixed_sdram(void); void mpc8610hpcd_diu_init(void); @@ -117,7 +117,7 @@ int checkboard(void) phys_size_t initdram(int board_type) { - long dram_size = 0; + phys_size_t dram_size = 0; #if defined(CONFIG_SPD_EEPROM) dram_size = fsl_ddr_sdram(); @@ -140,7 +140,7 @@ initdram(int board_type) * Fixed sdram init -- doesn't use serial presence detect. */ -long int fixed_sdram(void) +phys_size_t fixed_sdram(void) { #if !defined(CONFIG_SYS_RAMBOOT) volatile immap_t *immap = (immap_t *)CONFIG_SYS_IMMR; |