diff options
author | Simon Glass <sjg@chromium.org> | 2017-04-06 12:47:05 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-04-13 09:40:57 -0400 |
commit | f1683aa73c31db0a025e0254e6ce1ee7e56aad3e (patch) | |
tree | e60233acce1fb476d8d79cecd6252d50ed456b32 /board/gaisler | |
parent | 3eace37e5098c7f020a45a3672c062cd4ea199a0 (diff) |
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 <sjg@chromium.org>
[trini: Dummy function on nios2]
Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'board/gaisler')
-rw-r--r-- | board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c | 2 | ||||
-rw-r--r-- | board/gaisler/gr_ep2s60/gr_ep2s60.c | 2 | ||||
-rw-r--r-- | board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c | 2 | ||||
-rw-r--r-- | board/gaisler/grsim/grsim.c | 2 | ||||
-rw-r--r-- | board/gaisler/grsim_leon2/grsim_leon2.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c b/board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c index 4ceb48b09d..f1868550c7 100644 --- a/board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c +++ b/board/gaisler/gr_cpci_ax2000/gr_cpci_ax2000.c @@ -10,7 +10,7 @@ #include <config.h> #include <asm/leon.h> -int initdram(void) +int dram_init(void) { /* Does not set gd->ram_size here */ diff --git a/board/gaisler/gr_ep2s60/gr_ep2s60.c b/board/gaisler/gr_ep2s60/gr_ep2s60.c index 12d8c1025c..a73d89db2f 100644 --- a/board/gaisler/gr_ep2s60/gr_ep2s60.c +++ b/board/gaisler/gr_ep2s60/gr_ep2s60.c @@ -10,7 +10,7 @@ #include <config.h> #include <asm/leon.h> -int initdram(void) +int dram_init(void) { /* Does not set gd->ram_size here */ diff --git a/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c b/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c index 02beb5c926..d86047a785 100644 --- a/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c +++ b/board/gaisler/gr_xc3s_1500/gr_xc3s_1500.c @@ -9,7 +9,7 @@ #include <config.h> #include <asm/leon.h> -int initdram(void) +int dram_init(void) { /* Does not set gd->ram_size here */ diff --git a/board/gaisler/grsim/grsim.c b/board/gaisler/grsim/grsim.c index aa9ba50877..99262b0813 100644 --- a/board/gaisler/grsim/grsim.c +++ b/board/gaisler/grsim/grsim.c @@ -10,7 +10,7 @@ #include <common.h> #include <asm/leon.h> -int initdram(void) +int dram_init(void) { /* Does not set gd->ram_size here */ diff --git a/board/gaisler/grsim_leon2/grsim_leon2.c b/board/gaisler/grsim_leon2/grsim_leon2.c index 384db3d84b..c6c4bb4270 100644 --- a/board/gaisler/grsim_leon2/grsim_leon2.c +++ b/board/gaisler/grsim_leon2/grsim_leon2.c @@ -10,7 +10,7 @@ #include <common.h> #include <asm/leon.h> -int initdram(void) +int dram_init(void) { /* Does not set gd->ram_size here */ |