From 0e7927db138976469e7257e29c1338050a50fcd9 Mon Sep 17 00:00:00 2001 From: Kumar Gala Date: Wed, 27 Aug 2008 01:04:07 -0500 Subject: FSL DDR: Convert STXSSA to new DDR code. Signed-off-by: Kumar Gala --- board/stxssa/stxssa.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'board/stxssa/stxssa.c') diff --git a/board/stxssa/stxssa.c b/board/stxssa/stxssa.c index 2c4b54642aa..124e1233b1f 100644 --- a/board/stxssa/stxssa.c +++ b/board/stxssa/stxssa.c @@ -32,7 +32,9 @@ #include #include #include +#include #include +#include #include #include #include @@ -308,7 +310,9 @@ initdram (int board_type) } #endif - dram_size = spd_sdram (); + dram_size = fsl_ddr_sdram(); + dram_size = setup_ddr_tlbs(dram_size / 0x100000); + dram_size *= 0x100000; #if defined(CONFIG_DDR_ECC) /* Initialize and enable DDR ECC. -- cgit v1.2.3