From d53bd3e17bd4f460257c19255569ea6dcfaae817 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Tue, 26 Aug 2008 23:51:49 -0500 Subject: FSL DDR: Convert PM854 to new DDR code. Signed-off-by: Kumar Gala --- board/pm854/pm854.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/pm854/pm854.c') diff --git a/board/pm854/pm854.c b/board/pm854/pm854.c index 555f6c0..7dbafb9 100644 --- a/board/pm854/pm854.c +++ b/board/pm854/pm854.c @@ -28,7 +28,9 @@ #include #include #include +#include #include +#include #include #if defined(CONFIG_DDR_ECC) @@ -105,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 -- cgit v1.1