aboutsummaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3/recipes-bsp
diff options
context:
space:
mode:
authorKhang Nguyen <khang.nguyen.xw@renesas.com>2019-07-09 14:12:55 +0700
committerKhang Nguyen <khang.nguyen.xw@renesas.com>2019-07-10 14:10:15 +0700
commitb7c2822cc75574dfbf5c64d6357a91269d9cc748 (patch)
treef804de26116ed44a7f7275212b713ac7968f36bc /meta-rcar-gen3/recipes-bsp
parentda9c292170f0626fbeb44911ff0ae7599e0684c3 (diff)
rcar-gen3: arm-trusted-firmware: Add emmc_boot distro feature
This commit adds "emmc_boot" to DISTRO_FEATURES to enable RCAR_SA6_TYPE which supports eMMC boot. Change-Id: I47c8f1631449525f18e20cf18316ce5d1b0d321a Signed-off-by: Khang Nguyen <khang.nguyen.xw@renesas.com>
Diffstat (limited to 'meta-rcar-gen3/recipes-bsp')
-rw-r--r--meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
index 661732f..822160e 100644
--- a/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
+++ b/meta-rcar-gen3/recipes-bsp/arm-trusted-firmware/arm-trusted-firmware_git.bb
@@ -25,7 +25,7 @@ ATFW_OPT_r8a7796 = "LSI=M3 RCAR_DRAM_SPLIT=2 ${ATFW_OPT_LOSSY}"
ATFW_OPT_r8a77965 = "LSI=M3N ${ATFW_OPT_LOSSY}"
ATFW_OPT_r8a77990 = "LSI=E3 RCAR_SA0_SIZE=0 RCAR_AVS_SETTING_ENABLE=0 RCAR_DRAM_DDR3L_MEMCONF=0 RCAR_DRAM_DDR3L_MEMDUAL=0"
ATFW_OPT_append_ulcb = " RCAR_GEN3_ULCB=1 PMIC_LEVEL_MODE=0"
-ADDITIONAL_ATFW_OPT ??= ""
+ADDITIONAL_ATFW_OPT_append = "${@' RCAR_SA6_TYPE=1' if 'emmc_boot' in d.getVar('DISTRO_FEATURES') else ''}"
# requires CROSS_COMPILE set by hand as there is no configure script
export CROSS_COMPILE="${TARGET_PREFIX}"