diff options
Diffstat (limited to 'board/sipeed/maix/maix.c')
-rw-r--r-- | board/sipeed/maix/maix.c | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/board/sipeed/maix/maix.c b/board/sipeed/maix/maix.c index cbcb23cf5c2..6e582911f84 100644 --- a/board/sipeed/maix/maix.c +++ b/board/sipeed/maix/maix.c @@ -14,7 +14,7 @@ phys_size_t get_effective_memsize(void) return CONFIG_SYS_SDRAM_SIZE; } -int board_init(void) +static int sram_init(void) { int ret, i; const char * const banks[] = { "sram0", "sram1", "airam" }; @@ -39,3 +39,13 @@ int board_init(void) return 0; } + +int board_early_init_f(void) +{ + return sram_init(); +} + +int board_init(void) +{ + return 0; +} |