mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
arm: meson: board-gx: 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: Maxime Jourdan <mjourdan@baylibre.com> Signed-off-by: Neil Armstrong <narmstrong@baylibre.com> Reviewed-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
2ebade0d57
commit
0cc53faf59
1 changed files with 5 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
||||||
#include <asm/arch/eth.h>
|
#include <asm/arch/eth.h>
|
||||||
#include <asm/arch/gx.h>
|
#include <asm/arch/gx.h>
|
||||||
#include <asm/arch/mem.h>
|
#include <asm/arch/mem.h>
|
||||||
|
#include <asm/arch/meson-vpu.h>
|
||||||
#include <asm/io.h>
|
#include <asm/io.h>
|
||||||
#include <asm/armv8/mmu.h>
|
#include <asm/armv8/mmu.h>
|
||||||
#include <linux/sizes.h>
|
#include <linux/sizes.h>
|
||||||
|
@ -65,6 +66,10 @@ void meson_init_reserved_memory(void *fdt)
|
||||||
/* Add BL32 reserved zone */
|
/* Add BL32 reserved zone */
|
||||||
if (bl32_start && bl32_size)
|
if (bl32_start && bl32_size)
|
||||||
meson_board_add_reserved_memory(fdt, 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)
|
phys_size_t get_effective_memsize(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue