diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2019-07-22 20:02:20 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2019-07-29 10:27:48 +0800 |
commit | 8e9a8d0d0c8c06dd9213352b3415d94c5722bdeb (patch) | |
tree | 761731fb8eb885c9f862061c11145f85eab8a4a0 /board/elgin | |
parent | 920b01388e27798977929d6cd316e3fc8cdad5cc (diff) | |
download | u-boot-8e9a8d0d0c8c06dd9213352b3415d94c5722bdeb.zip u-boot-8e9a8d0d0c8c06dd9213352b3415d94c5722bdeb.tar.gz u-boot-8e9a8d0d0c8c06dd9213352b3415d94c5722bdeb.tar.bz2 |
rockchip: elgin-rv1108: use board_early_init_f for per-boar init
Use board_early_init_f() for per-board init operation and
use board_init() from common board file.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'board/elgin')
-rw-r--r-- | board/elgin/elgin_rv1108/elgin_rv1108.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/board/elgin/elgin_rv1108/elgin_rv1108.c b/board/elgin/elgin_rv1108/elgin_rv1108.c index 0de1f42..70a1245 100644 --- a/board/elgin/elgin_rv1108/elgin_rv1108.c +++ b/board/elgin/elgin_rv1108/elgin_rv1108.c @@ -50,7 +50,7 @@ int mach_cpu_init(void) #define MODEM_ENABLE_GPIO 111 -int board_init(void) +int board_early_init_f(void) { gpio_request(MODEM_ENABLE_GPIO, "modem_enable"); gpio_direction_output(MODEM_ENABLE_GPIO, 0); @@ -58,6 +58,11 @@ int board_init(void) return 0; } +int board_init(void) +{ + return 0; +} + int dram_init(void) { gd->ram_size = 0x8000000; |