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 --- board/sysam/amcore/amcore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'board/sysam') diff --git a/board/sysam/amcore/amcore.c b/board/sysam/amcore/amcore.c index e2b9123bac5..3bfe511a981 100644 --- a/board/sysam/amcore/amcore.c +++ b/board/sysam/amcore/amcore.c @@ -40,7 +40,7 @@ int checkboard(void) } /* - * in initdram we are here executing from flash + * in dram_init we are here executing from flash * case 1: * is with no ACR/flash cache enabled * nop = 40ns (scope measured) @@ -51,7 +51,7 @@ void fudelay(int usec) asm volatile ("nop"); } -int initdram(void) +int dram_init(void) { u32 dramsize, RC; -- cgit v1.2.3