diff options
author | Kever Yang <kever.yang@rock-chips.com> | 2020-04-13 09:38:30 +0800 |
---|---|---|
committer | Kever Yang <kever.yang@rock-chips.com> | 2020-09-16 16:31:17 +0800 |
commit | f11f138ebfeac8271ad5e6faed2265a9585b97fc (patch) | |
tree | 9ec761900411b051100a91f6cee4e15ab109047a /board/elgin | |
parent | 4dcced116976937f6f7dd9a0e39cde8120250c16 (diff) | |
download | u-boot-f11f138ebfeac8271ad5e6faed2265a9585b97fc.tar.gz u-boot-f11f138ebfeac8271ad5e6faed2265a9585b97fc.tar.bz2 u-boot-f11f138ebfeac8271ad5e6faed2265a9585b97fc.zip |
rockchip: rv1108: use correct API for board callback
Use board_early_init_f() instead of mach_cpu_init() for board, the
board_early_init_f() is used for board init and after dm_initf, while
the mach_cpu_init() is used for CPU/SOC and before dm_initf()(not able
to use syscon API).
Fixes: 9cec336708 ("rockchip: evb-rv1108: Use syscon API to get grf base")
Fixes: 4aa33690fc {"rockchip: elgin-rv1108: Use syscon API to get grf base")
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/elgin/elgin_rv1108/elgin_rv1108.c b/board/elgin/elgin_rv1108/elgin_rv1108.c index 5d8f62244b..245e5abcae 100644 --- a/board/elgin/elgin_rv1108/elgin_rv1108.c +++ b/board/elgin/elgin_rv1108/elgin_rv1108.c @@ -15,7 +15,7 @@ DECLARE_GLOBAL_DATA_PTR; -int mach_cpu_init(void) +int board_early_init_f(void) { struct rv1108_grf *grf; enum { |