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>
This commit is contained in:
parent
4dcced1169
commit
f11f138ebf
@ -15,7 +15,7 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
int mach_cpu_init(void)
|
||||
int board_early_init_f(void)
|
||||
{
|
||||
struct rv1108_grf *grf;
|
||||
enum {
|
||||
|
@ -14,7 +14,7 @@
|
||||
|
||||
DECLARE_GLOBAL_DATA_PTR;
|
||||
|
||||
int mach_cpu_init(void)
|
||||
int board_early_init_f(void)
|
||||
{
|
||||
struct rv1108_grf *grf;
|
||||
enum {
|
||||
|
Loading…
Reference in New Issue
Block a user