ccmp1x: create new variable to be able to truly override TF_A_CONFIG
Commit 7cf314ba80 made a weak assignment of TF_A_CONFIG in the machine
config file, so that it could be overriden from conf/local.conf with a
straight assignment. However, this variable already has a weak assignment
on include files for the tf-a-stm32mp recipe, which apparently take
precedence over the machine files.
This commit creates a new variable DEY_TF_A_CONFIG in the machine config,
and then uses a straight assignment of TF_A_CONFIG to the new variable on the
tf-a-stm32mp.bbappend.
This allows users to override the machine default and avoids the STM recipe
weak assignment.
Signed-off-by: Hector Palacios <hector.palacios@digi.com>
This commit is contained in:
parent
1fe98681ac
commit
c6f19a099c
|
|
@ -96,7 +96,7 @@ ST_DEBUG_TRACE = "0"
|
||||||
# trusted-firmware-a
|
# trusted-firmware-a
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# Configure trusted-firmware-a build
|
# Configure trusted-firmware-a build
|
||||||
TF_A_CONFIG ?= "optee nand"
|
DEY_TF_A_CONFIG ?= "optee nand"
|
||||||
|
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# optee
|
# optee
|
||||||
|
|
|
||||||
|
|
@ -104,7 +104,7 @@ ST_DEBUG_TRACE = "0"
|
||||||
# trusted-firmware-a
|
# trusted-firmware-a
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# Configure trusted-firmware-a build
|
# Configure trusted-firmware-a build
|
||||||
TF_A_CONFIG ?= "optee nand"
|
DEY_TF_A_CONFIG ?= "optee nand"
|
||||||
|
|
||||||
# =========================================================================
|
# =========================================================================
|
||||||
# optee
|
# optee
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ SRC_URI = " \
|
||||||
${TFA_GIT_URI};branch=${SRCBRANCH} \
|
${TFA_GIT_URI};branch=${SRCBRANCH} \
|
||||||
"
|
"
|
||||||
|
|
||||||
|
TF_A_CONFIG = "${DEY_TF_A_CONFIG}"
|
||||||
TF_A_CONFIG[nand] = "${DEVICE_BOARD_ENABLE:NAND},STM32MP_RAW_NAND=1 ${@'STM32MP_FORCE_MTD_START_OFFSET=${TF_A_MTD_START_OFFSET_NAND}' if ${TF_A_MTD_START_OFFSET_NAND} else ''} STM32MP_USB_PROGRAMMER=1"
|
TF_A_CONFIG[nand] = "${DEVICE_BOARD_ENABLE:NAND},STM32MP_RAW_NAND=1 ${@'STM32MP_FORCE_MTD_START_OFFSET=${TF_A_MTD_START_OFFSET_NAND}' if ${TF_A_MTD_START_OFFSET_NAND} else ''} STM32MP_USB_PROGRAMMER=1"
|
||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue