From 09836a0bee800eb88abdf3989d837367f008a835 Mon Sep 17 00:00:00 2001 From: Christophe Priouzeau Date: Mon, 6 Jun 2022 15:36:43 +0200 Subject: [PATCH] CONF: disable CHECK for MTD Signed-off-by: Christophe Priouzeau Change-Id: Iced690e09893ac27692c9ccbe1847992eff269a8 --- conf/machine/include/st-machine-common-stm32mp.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conf/machine/include/st-machine-common-stm32mp.inc b/conf/machine/include/st-machine-common-stm32mp.inc index d47eac9..87bd982 100644 --- a/conf/machine/include/st-machine-common-stm32mp.inc +++ b/conf/machine/include/st-machine-common-stm32mp.inc @@ -543,7 +543,8 @@ 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)}" +UBOOT_MTDPART_CHECK_ENABLE = "" + # Set U-Boot MTD partition configurations UBOOT_MTDPART_NAND_BOOT ?= "${@','.join(['%sk(%s)' % (align_size(d, 'NAND', l.split(',')[2], l.split(',')[4]), l.split(',')[1]) for l in d.getVarFlag('PARTITIONS_BOOTLOADER_CONFIG', 'nand-4-256').split()])}" UBOOT_MTDPART_NOR_BOOT ?= "${@','.join(['%sk(%s)' % (align_size(d, 'NOR', l.split(',')[2], l.split(',')[4]), l.split(',')[1]) for l in d.getVarFlag('PARTITIONS_BOOTLOADER_CONFIG', 'nor-sdcard').split()])}"