git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aed288
)
rockchip: tpl: Remove board_early_init_f()
author
Kever Yang
<kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:26:30 +0000
(20:26 +0800)
committer
Kever Yang
<kever.yang@rock-chips.com>
Wed, 22 Jul 2020 12:55:13 +0000
(20:55 +0800)
There is no need for board_early_init_f() in TPL, anything like this
should goes to SPL.
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/mach-rockchip/tpl.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rockchip/tpl.c
b/arch/arm/mach-rockchip/tpl.c
index
88f80b0
..
cc908e1
100644
(file)
--- a/
arch/arm/mach-rockchip/tpl.c
+++ b/
arch/arm/mach-rockchip/tpl.c
@@
-43,18
+43,11
@@
__weak void rockchip_stimer_init(void)
TIMER_CONTROL_REG);
}
-__weak int board_early_init_f(void)
-{
- return 0;
-}
-
void board_init_f(ulong dummy)
{
struct udevice *dev;
int ret;
- board_early_init_f();
-
#if defined(CONFIG_DEBUG_UART) && defined(CONFIG_TPL_SERIAL_SUPPORT)
/*
* Debug UART can be used from here if required: