From f1683aa73c31db0a025e0254e6ce1ee7e56aad3e Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 6 Apr 2017 12:47:05 -0600 Subject: board_f: Rename initdram() to dram_init() This allows us to use the same DRAM init function on all archs. Add a dummy function for arc, which does not use DRAM init here. Signed-off-by: Simon Glass [trini: Dummy function on nios2] Signed-off-by: Tom Rini --- arch/arc/lib/cpu.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'arch/arc') diff --git a/arch/arc/lib/cpu.c b/arch/arc/lib/cpu.c index d1f10ab..cb80893 100644 --- a/arch/arc/lib/cpu.c +++ b/arch/arc/lib/cpu.c @@ -28,3 +28,9 @@ int arch_early_init_r(void) gd->bd->bi_memsize = CONFIG_SYS_SDRAM_SIZE; return 0; } + +/* This is a dummy function on arc */ +int dram_init(void) +{ + return 0; +} -- cgit v1.1