From 8e55313b7ae12352a343f9b9962e662dbd897187 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 26 Aug 2008 23:52:58 -0500 Subject: FSL DDR: Convert SBC8560 to new DDR code. Signed-off-by: Kumar Gala --- board/sbc8560/sbc8560.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/sbc8560/sbc8560.c') diff --git a/board/sbc8560/sbc8560.c b/board/sbc8560/sbc8560.c index d9e598c..dc66170 100644 --- a/board/sbc8560/sbc8560.c +++ b/board/sbc8560/sbc8560.c @@ -29,7 +29,9 @@ #include #include +#include #include +#include #include #include #include @@ -283,7 +285,9 @@ phys_size_t 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 -- cgit v1.1