From: Neil Armstrong Date: Fri, 30 Aug 2019 12:09:26 +0000 (+0200) Subject: arm: meson: board-g12a: Setup VPU in fdt X-Git-Url: http://git.dujemihanovic.xyz/login.html?a=commitdiff_plain;h=4ba46d80b5899d8aed8be458cee1b09c6a840832;p=u-boot.git arm: meson: board-g12a: Setup VPU in fdt If VIDEO_MESON is enabled, we need to setup the fdt for the framebuffer. Call meson_vpu_rsv_fb() which reserves the framebuffer memory region for EFI, and sets up simple-framebuffer nodes if simplefb support is enabled. Signed-off-by: Neil Armstrong Reviewed-by: Anatolij Gustschin --- diff --git a/arch/arm/mach-meson/board-g12a.c b/arch/arm/mach-meson/board-g12a.c index 546b9f6039..24786df6cd 100644 --- a/arch/arm/mach-meson/board-g12a.c +++ b/arch/arm/mach-meson/board-g12a.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -57,6 +58,10 @@ void meson_init_reserved_memory(void *fdt) /* Add BL32 reserved zone */ if (bl32_start && bl32_size) meson_board_add_reserved_memory(fdt, bl32_start, bl32_size); + +#if defined(CONFIG_VIDEO_MESON) + meson_vpu_rsv_fb(fdt); +#endif } phys_size_t get_effective_memsize(void)