]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
rockchip: rk3288: Use ft_system_setup instead of ft_board_setup
authorJohn Keeping <john@metanate.com>
Thu, 23 Feb 2023 19:28:51 +0000 (19:28 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 21 Apr 2023 07:16:00 +0000 (15:16 +0800)
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>
arch/arm/mach-rockchip/Kconfig
arch/arm/mach-rockchip/rk3288/rk3288.c

index e5ac58ae60b52908026874f75d8cb7b2e553f5de..39cf4b99393ca41bb5e89aa6128341b7e346ca35 100644 (file)
@@ -119,7 +119,7 @@ config ROCKCHIP_RK322X
 config ROCKCHIP_RK3288
        bool "Support Rockchip RK3288"
        select CPU_V7A
-       select OF_BOARD_SETUP
+       select OF_SYSTEM_SETUP
        select SKIP_LOWLEVEL_INIT_ONLY
        select SUPPORT_SPL
        select SPL
index 3ad2887575da2e4086a8336a589a4eff4c18823e..26c7e41cd89e6b9b4da8706d3d43b48deae8fa98 100644 (file)
@@ -138,7 +138,7 @@ static int ft_rk3288w_setup(void *blob)
        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())
                return ft_rk3288w_setup(blob);