CONF: flashlayout: use DEVICE_BOARD_ENABLE instead of full list of DT
In case of storage not present on specific devicetree we encounter some issue at flashlayout generation. Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
This commit is contained in:
parent
07229c80ca
commit
9c26c11570
|
|
@ -98,16 +98,20 @@ FLASHLAYOUT_CONFIG_LABELS_remove = "${@bb.utils.contains('ST_EXAMPLE_IMAGE', '1'
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# EMMC
|
# EMMC
|
||||||
# Set flashlayout file generation to eval board (mother and daughter) only
|
# Set flashlayout file generation to eval board (mother and daughter) only
|
||||||
FLASHLAYOUT_TYPE_LABELS_emmc = "${STM32MP_DT_FILES_ED} ${STM32MP_DT_FILES_EV}"
|
FLASHLAYOUT_TYPE_LABELS_emmc = "${DEVICE_BOARD_ENABLE_EMMC}"
|
||||||
# NAND
|
# NAND
|
||||||
# Set flashlayout file generation to eval board only
|
# Set flashlayout file generation to eval board only
|
||||||
FLASHLAYOUT_TYPE_LABELS_nand-4-256 = "${STM32MP_DT_FILES_EV}"
|
FLASHLAYOUT_TYPE_LABELS_nand-4-256 = "${DEVICE_BOARD_ENABLE_NAND}"
|
||||||
# NOR
|
# NOR
|
||||||
# Set flashlayout file generation to eval board only
|
# Set flashlayout file generation to eval board only
|
||||||
FLASHLAYOUT_TYPE_LABELS_nor-sdcard = "${STM32MP_DT_FILES_EV}"
|
FLASHLAYOUT_TYPE_LABELS_nor-sdcard = "${DEVICE_BOARD_ENABLE_NOR}"
|
||||||
# SDCARD
|
# SDCARD
|
||||||
# Set flashlayout file generation for all boards
|
# Set flashlayout file generation for all boards
|
||||||
FLASHLAYOUT_TYPE_LABELS_sdcard = "${STM32MP_DT_FILES_DK} ${STM32MP_DT_FILES_ED} ${STM32MP_DT_FILES_EV}"
|
FLASHLAYOUT_TYPE_LABELS_sdcard = "${DEVICE_BOARD_ENABLE_SDCARD}"
|
||||||
|
|
||||||
|
# SPINAND
|
||||||
|
# Set flashlayout file generation for all boards
|
||||||
|
FLASHLAYOUT_TYPE_LABELS_spinand-2-128 = "${DEVICE_BOARD_ENABLE_SPINAND}"
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Define partitions to consider for flashlayout file generation
|
# Define partitions to consider for flashlayout file generation
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue