From b80a7ced0eadc5c801712c8777de276c71745d58 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Thu, 7 Sep 2023 09:32:22 +0200 Subject: [PATCH] ccmp1: add ccmp1 platforms to supported list when enabling sdcard boot Signed-off-by: Hector Palacios https://onedigi.atlassian.net/browse/DEL-8650 --- meta-digi-arm/conf/machine/ccmp13-dvk.conf | 3 ++- meta-digi-arm/conf/machine/ccmp15-dvk.conf | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/conf/machine/ccmp13-dvk.conf b/meta-digi-arm/conf/machine/ccmp13-dvk.conf index 7ecd6c0a1..ec899c9e9 100644 --- a/meta-digi-arm/conf/machine/ccmp13-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp13-dvk.conf @@ -17,8 +17,9 @@ MACHINEOVERRIDES = "arm:armv7ve:stcommon:stm32mpcommon:stm32mp1common:${DIGI_FAM # ========================================================================= # boot device # ========================================================================= -# Configure the list of boards that enable NAND +# Configure the list of boards that enable NAND/SDCARD DEVICE_BOARD_ENABLE:NAND += "ccmp13-dvk" +DEVICE_BOARD_ENABLE:SDCARD += "${@bb.utils.contains('BOOTDEVICE_LABELS', 'sdcard', 'ccmp13-dvk', '', d)}" # ========================================================================= # U-Boot configs diff --git a/meta-digi-arm/conf/machine/ccmp15-dvk.conf b/meta-digi-arm/conf/machine/ccmp15-dvk.conf index 64dd70af7..fa6c11550 100644 --- a/meta-digi-arm/conf/machine/ccmp15-dvk.conf +++ b/meta-digi-arm/conf/machine/ccmp15-dvk.conf @@ -17,8 +17,9 @@ MACHINEOVERRIDES = "arm:armv7ve:stcommon:stm32mpcommon:stm32mp1common:${DIGI_FAM # ========================================================================= # boot device # ========================================================================= -# Configure the list of boards that enable NAND +# Configure the list of boards that enable NAND/SDCARD DEVICE_BOARD_ENABLE:NAND += "ccmp15-dvk" +DEVICE_BOARD_ENABLE:SDCARD += "${@bb.utils.contains('BOOTDEVICE_LABELS', 'sdcard', 'ccmp15-dvk', '', d)}" # ========================================================================= # U-Boot configs