summaryrefslogtreecommitdiff
path: root/board/sbc8641d/sbc8641d.c
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-08-26 15:01:37 -0500
committerWolfgang Denk <wd@denx.de>2008-08-27 02:06:04 +0200
commit9bd4e5911b750837515466bc7449087698b88e0e (patch)
treed6f80cff80369b09a932ac4c5509b3c9fd91a266 /board/sbc8641d/sbc8641d.c
parent39aa1a73483e1ac2bd56d5523abfc3970ee82c77 (diff)
downloadu-boot-imx-9bd4e5911b750837515466bc7449087698b88e0e.zip
u-boot-imx-9bd4e5911b750837515466bc7449087698b88e0e.tar.gz
u-boot-imx-9bd4e5911b750837515466bc7449087698b88e0e.tar.bz2
FSL DDR: Convert SBC8641D to new DDR code.
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'board/sbc8641d/sbc8641d.c')
-rw-r--r--board/sbc8641d/sbc8641d.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/sbc8641d/sbc8641d.c b/board/sbc8641d/sbc8641d.c
index c724eff..62b48c8 100644
--- a/board/sbc8641d/sbc8641d.c
+++ b/board/sbc8641d/sbc8641d.c
@@ -34,7 +34,7 @@
#include <asm/processor.h>
#include <asm/immap_86xx.h>
#include <asm/immap_fsl_pci.h>
-#include <spd_sdram.h>
+#include <asm/fsl_ddr_sdram.h>
#include <libfdt.h>
#include <fdt_support.h>
@@ -42,7 +42,6 @@
extern void ddr_enable_ecc (unsigned int dram_size);
#endif
-void sdram_init (void);
long int fixed_sdram (void);
int board_early_init_f (void)
@@ -62,7 +61,7 @@ phys_size_t initdram (int board_type)
long dram_size = 0;
#if defined(CONFIG_SPD_EEPROM)
- dram_size = spd_sdram ();
+ dram_size = fsl_ddr_sdram();
#else
dram_size = fixed_sdram ();
#endif