diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2008-08-26 23:15:28 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-08-27 11:43:51 -0500 |
commit | 33b9079ba20926f14238fff863b68a98e938948e (patch) | |
tree | f9d7bed6f7f2710a18647a57e909f83e1796a509 /board/sbc8548/sbc8548.c | |
parent | a947e4c7eb15cea1d9fb633955c516aab5ad35dd (diff) | |
download | u-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.zip u-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.tar.gz u-boot-imx-33b9079ba20926f14238fff863b68a98e938948e.tar.bz2 |
FSL DDR: Convert sbc8548 to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8548/sbc8548.c')
-rw-r--r-- | board/sbc8548/sbc8548.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/board/sbc8548/sbc8548.c b/board/sbc8548/sbc8548.c index 91b40e5..f31d7d6 100644 --- a/board/sbc8548/sbc8548.c +++ b/board/sbc8548/sbc8548.c @@ -30,6 +30,7 @@ #include <asm/processor.h> #include <asm/immap_85xx.h> #include <asm/immap_fsl_pci.h> +#include <asm/fsl_ddr_sdram.h> #include <spd_sdram.h> #include <miiphy.h> #include <libfdt.h> @@ -106,7 +107,9 @@ initdram(int board_type) #endif #if defined(CONFIG_SPD_EEPROM) - dram_size = spd_sdram (); + dram_size = fsl_ddr_sdram(); + dram_size = setup_ddr_tlbs(dram_size / 0x100000); + dram_size *= 0x100000; #else dram_size = fixed_sdram (); #endif |