mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-18 21:21:37 +00:00
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>
This commit is contained in:
parent
920b01388e
commit
8e9a8d0d0c
1 changed files with 6 additions and 1 deletions
|
@ -50,7 +50,7 @@ int mach_cpu_init(void)
|
||||||
|
|
||||||
#define MODEM_ENABLE_GPIO 111
|
#define MODEM_ENABLE_GPIO 111
|
||||||
|
|
||||||
int board_init(void)
|
int board_early_init_f(void)
|
||||||
{
|
{
|
||||||
gpio_request(MODEM_ENABLE_GPIO, "modem_enable");
|
gpio_request(MODEM_ENABLE_GPIO, "modem_enable");
|
||||||
gpio_direction_output(MODEM_ENABLE_GPIO, 0);
|
gpio_direction_output(MODEM_ENABLE_GPIO, 0);
|
||||||
|
@ -58,6 +58,11 @@ int board_init(void)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
int board_init(void)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
int dram_init(void)
|
int dram_init(void)
|
||||||
{
|
{
|
||||||
gd->ram_size = 0x8000000;
|
gd->ram_size = 0x8000000;
|
||||||
|
|
Loading…
Add table
Reference in a new issue