CLASSES: EXTLINUX: add support of several splash screen
The splashscreen name are defined compared to socname UBOOT_EXTLINUX_SPLASH_<socname> = "<path and name of splash>" Change-Id: I8b3e3efe79fa436bbb2d35bceade7f6edd51844e Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
1 parent
3b85be592e
commit
e3c7e01a15
3 files changed
+16
-3
No files matched your search
@@ -529,7 +529,8 @@ UBOOT_CONFIG[trusted_stm32mp15] = "stm32mp15_trusted_defconfig,,${BINARY_NAME}"
|
||||
UBOOT_DEVICETREE = "${STM32MP_DEVICETREE}"
|
||||
|
||||
# Define U-boot splashscreen file naming
|
||||
UBOOT_SPLASH_IMAGE = "splash"
|
||||
UBOOT_SPLASH_PORTRAIT_IMAGE = "splash_portrait"
|
||||
UBOOT_SPLASH_LANDSCAPE_IMAGE = "splash_landscape"
|
||||
|
||||
# Enable MTDPART check for UBOOT_CONFIG
|
||||
UBOOT_MTDPART_CHECK_ENABLE ?= "${@bb.utils.contains_any('BOOTSCHEME_LABELS', 'optee trusted', d.getVarFlag('UBOOT_CONFIG', 'trusted_stm32mp15').split(',')[0], '', d)}"
|
||||
|
||||
@@ -11,6 +11,9 @@ UBOOT_EXTLINUX_DEFAULT_LABEL ?= "OpenSTLinux"
|
||||
# Define default INITRD for all configs
|
||||
INITRD_IMAGE ??= ""
|
||||
UBOOT_EXTLINUX_INITRD ?= "${@bb.utils.contains('COMBINED_FEATURES', 'initrd', '/${INITRD_IMAGE}', '', d)}"
|
||||
# Define default SPLASH SCREEN
|
||||
UBOOT_EXTLINUX_SPLASH ?= "${UBOOT_SPLASH_LANDSCAPE_IMAGE}"
|
||||
UBOOT_EXTLINUX_SPLASH_stm32mp15 ?= "${UBOOT_SPLASH_PORTRAIT_IMAGE}"
|
||||
|
||||
UBOOT_EXTLINUX_KERNEL_ARGS ?= "rootwait rw"
|
||||
UBOOT_EXTLINUX_KERNEL_ARGS_append += " ${@bb.utils.contains('ST_DEBUG_TRACE', '1', '', '${ST_CMD_LINE_DEBUG_TRACE}', d)} "
|
||||
|
||||
Reference in new issue
Block a user