diff options
author | Neil Armstrong <narmstrong@baylibre.com> | 2019-08-30 14:09:26 +0200 |
---|---|---|
committer | Neil Armstrong <narmstrong@baylibre.com> | 2019-10-18 11:48:29 +0200 |
commit | 4ba46d80b5899d8aed8be458cee1b09c6a840832 (patch) | |
tree | e0e1a2e7d754ce8dba7ad6802f140bc3005de7cc /arch/arm | |
parent | 04eb4f45c1a58068fc3165d91aa38d51fd07d8e4 (diff) |
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 <narmstrong@baylibre.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/mach-meson/board-g12a.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <asm/arch/eth.h> #include <asm/arch/g12a.h> #include <asm/arch/mem.h> +#include <asm/arch/meson-vpu.h> #include <asm/io.h> #include <asm/armv8/mmu.h> #include <linux/sizes.h> @@ -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) |