"Das U-Boot" Source Tree
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

rockchip: rk3128: Have ft_board_setup setup simplefb if enabled

+13
+13
arch/arm/mach-rockchip/rk3128/rk3128.c
··· 4 4 #include <asm/arch-rockchip/bootrom.h> 5 5 #include <asm/arch-rockchip/grf_rk3128.h> 6 6 #include <asm/arch-rockchip/hardware.h> 7 + #include <fdt_simplefb.h> 7 8 8 9 #define GRF_BASE 0x20008000 9 10 ··· 146 147 return 0; 147 148 } 148 149 #endif 150 + 151 + #if defined(CONFIG_OF_BOARD_SETUP) 152 + int ft_board_setup(void *blob, struct bd_info *bd) 153 + { 154 + if (IS_ENABLED(CONFIG_FDT_SIMPLEFB)) { 155 + fdt_simplefb_add_node(blob); 156 + fdt_simplefb_enable_and_mem_rsv(blob); 157 + } 158 + 159 + return 0; 160 + } 161 + #endif