From 38775ae3c5c7205421d9409754c592fcac21eb46 Mon Sep 17 00:00:00 2001 From: Devarsh Thakkar Date: Tue, 5 Mar 2024 18:14:12 +0530 Subject: configs: am62x: am62px: Enable simple-framebuffer Enable simple-framebuffer support for AM62x and AM62p platforms which have early splash screen enabled. This updates the simple-framebuffer node in Linux device-tree on the fly with framebuffer address and meta-data and also reserves framebuffer region in device-tree. Also disable the simple-framebuffer support in am62p's prune splashscreen config fragment as it is not required without splashscreen support. Signed-off-by: Devarsh Thakkar --- configs/am62px_evm_a53_defconfig | 2 ++ configs/am62px_evm_prune_splashscreen.config | 1 + configs/am62x_evm_a53_defconfig | 2 ++ 3 files changed, 5 insertions(+) diff --git a/configs/am62px_evm_a53_defconfig b/configs/am62px_evm_a53_defconfig index 07fdf652a1..4362d40d98 100644 --- a/configs/am62px_evm_a53_defconfig +++ b/configs/am62px_evm_a53_defconfig @@ -31,6 +31,7 @@ CONFIG_SPL_SPI=y # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000 +CONFIG_OF_BOARD_SETUP=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTCOMMAND="run envboot; run distro_bootcmd;" CONFIG_BLOBLIST=y @@ -67,6 +68,7 @@ CONFIG_SPL_USB_STORAGE=y CONFIG_SPL_USB_GADGET=y CONFIG_SPL_DFU=y CONFIG_SPL_YMODEM_SUPPORT=y +CONFIG_FDT_SIMPLEFB=y CONFIG_SPL_BMP=y CONFIG_SYS_MAXARGS=64 CONFIG_CMD_CLK=y diff --git a/configs/am62px_evm_prune_splashscreen.config b/configs/am62px_evm_prune_splashscreen.config index b45a7b347f..1ff1eaa177 100644 --- a/configs/am62px_evm_prune_splashscreen.config +++ b/configs/am62px_evm_prune_splashscreen.config @@ -26,3 +26,4 @@ CONFIG_BLOBLIST=n # CONFIG_SPL_SIZE_LIMIT is not set # CONFIG_SPL_SIZE_LIMIT_PROVIDE_STACK is not set CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0x80480000 +CONFIG_FDT_SIMPLEFB=n diff --git a/configs/am62x_evm_a53_defconfig b/configs/am62x_evm_a53_defconfig index fad7c7ad90..cf02498663 100644 --- a/configs/am62x_evm_a53_defconfig +++ b/configs/am62x_evm_a53_defconfig @@ -32,6 +32,7 @@ CONFIG_SPL_SPI=y # CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set CONFIG_SPL_LOAD_FIT=y CONFIG_SPL_LOAD_FIT_ADDRESS=0x81000000 +CONFIG_OF_BOARD_SETUP=y CONFIG_DISTRO_DEFAULTS=y CONFIG_BOOTCOMMAND="run envboot; run distro_bootcmd;" CONFIG_BOARD_LATE_INIT=y @@ -70,6 +71,7 @@ CONFIG_SPL_USB_STORAGE=y CONFIG_SPL_USB_GADGET=y CONFIG_SPL_DFU=y CONFIG_SPL_YMODEM_SUPPORT=y +CONFIG_FDT_SIMPLEFB=y CONFIG_SPL_BMP=y CONFIG_SYS_MAXARGS=64 CONFIG_CMD_CLK=y -- cgit v1.2.3