Skip to content
Snippets Groups Projects
Commit f11f138e authored by Kever Yang's avatar Kever Yang
Browse files

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: 9cec3367 ("rockchip: evb-rv1108: Use syscon API to get grf base")
Fixes: 4aa33690 {"rockchip: elgin-rv1108: Use syscon API to get grf base")

Signed-off-by: Kever Yang's avatarKever Yang <kever.yang@rock-chips.com>
parent 4dcced11
No related branches found
No related tags found
No related merge requests found
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment