rockchip: rk3288: Use ft_system_setup instead of ft_board_setup

ft_board_setup() should be availble for use in board files but using it
in the rk3288 machine file blocks this functionality.

ft_system_setup() is the more appropriate function to use in a machine
definition.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
This commit is contained in:
John Keeping 2023-02-23 19:28:51 +00:00 committed by Kever Yang
parent f7ad2912c6
commit 24fea3f837
2 changed files with 2 additions and 2 deletions

View file

@ -119,7 +119,7 @@ config ROCKCHIP_RK322X
config ROCKCHIP_RK3288 config ROCKCHIP_RK3288
bool "Support Rockchip RK3288" bool "Support Rockchip RK3288"
select CPU_V7A select CPU_V7A
select OF_BOARD_SETUP select OF_SYSTEM_SETUP
select SKIP_LOWLEVEL_INIT_ONLY select SKIP_LOWLEVEL_INIT_ONLY
select SUPPORT_SPL select SUPPORT_SPL
select SPL select SPL

View file

@ -138,7 +138,7 @@ static int ft_rk3288w_setup(void *blob)
return ret; return ret;
} }
int ft_board_setup(void *blob, struct bd_info *bd) int ft_system_setup(void *blob, struct bd_info *bd)
{ {
if (soc_is_rk3288w()) if (soc_is_rk3288w())
return ft_rk3288w_setup(blob); return ft_rk3288w_setup(blob);