[01/24] atf: update to 7e34aeb

Submitted by C.R. Guo on April 1, 2019, 9:12 a.m. | Patch ID: 160002

Details

Message ID 1554109902-31662-1-git-send-email-chunrong.guo@nxp.com
State New
Headers show

Commit Message

C.R. Guo April 1, 2019, 9:12 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

*update to lsdk 1903 tag
include the following changes
7e34aeb - Fix 2088 sleep hang
dc16e35 - SDEI: Ensure SDEI handler executes with CVE-2018-3639 mitigation enabled
5eb3190 - Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32
cd1e8ce - Add support for dynamic mitigation for CVE-2018-3639
82c570f - aarch32: Implement static workaround for CVE-2018-3639
2a655ec - Implement static workaround for CVE-2018-3639
90c75d3 - Rename symbols and files relating to CVE-2017-5715
179e18a - Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1
2671898 - lx2: Remove setting of POWMGTCSR[LPM20_RQ] from LPM20 flow
7ca22ff - Adding LX2160 system power-down (LPM20)
0f81f07 - ls2088ardb: Add support of Non-ECC UDIMM
ee53ed7 - nxp/lx2: Enable Errate ERRATA_A72_859971 on LX2

*add ddr-phy to DEPENDS for lx2160a
*install ddr4_pmu_train_dmem.bin

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-bsp/atf/atf_git.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

Patch hide | download patch | download mbox

diff --git a/recipes-bsp/atf/atf_git.bb b/recipes-bsp/atf/atf_git.bb
index 883b7ea..6583be8 100644
--- a/recipes-bsp/atf/atf_git.bb
+++ b/recipes-bsp/atf/atf_git.bb
@@ -5,14 +5,15 @@  LIC_FILES_CHKSUM = "file://license.rst;md5=e927e02bca647e14efd87e9e914b2443"
 
 inherit deploy
 
-DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native uefi"
+DEPENDS += "u-boot-mkimage-native u-boot openssl openssl-native mbedtls rcw cst-native"
+DEPENDS_append_lx2160a += "ddr-phy"
 DEPENDS_append_qoriq-arm64 += "optee-os-qoriq"
 do_compile[depends] += "u-boot:do_deploy rcw:do_deploy uefi:do_deploy"
 
 S = "${WORKDIR}/git"
 
 SRC_URI = "git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1"
-SRCREV = "4971f394cf32e33e3a9ca23a4faa49d606af31c5"
+SRCREV = "7e34aebe658c7c3439d2d68b0ce6b9776e8e6996"
 
 SRC_URI += "file://0001-fix-fiptool-build-error.patch \
     file://0001-Makefile-add-CC-gcc.patch \
@@ -81,6 +82,9 @@  do_compile() {
         bl32opt="BL32=${bl32}"
         spdopt="SPD=opteed" 
     fi
+    if [ -f ${DEPLOY_DIR_IMAGE}/ddr-phy/ddr4_pmu_train_dmem.bin ]; then
+        cp ${DEPLOY_DIR_IMAGE}/ddr-phy/*.bin ${S}/
+    fi
 
     for d in ${BOOTTYPE}; do
         case $d in

Comments

C.R. Guo April 8, 2019, 5:13 a.m.
PING!

-----Original Message-----
From: C.r. Guo 

Sent: 2019年4月1日 17:12
To: meta-freescale@yoctoproject.org
Cc: C.r. Guo <chunrong.guo@nxp.com>
Subject: [PATCH 01/24] atf: update to 7e34aeb

From: Chunrong Guo <chunrong.guo@nxp.com>


*update to lsdk 1903 tag
include the following changes
7e34aeb - Fix 2088 sleep hang
dc16e35 - SDEI: Ensure SDEI handler executes with CVE-2018-3639 mitigation enabled
5eb3190 - Fast path SMCCC_ARCH_WORKAROUND_1 calls from AArch32 cd1e8ce - Add support for dynamic mitigation for CVE-2018-3639 82c570f - aarch32: Implement static workaround for CVE-2018-3639 2a655ec - Implement static workaround for CVE-2018-3639
90c75d3 - Rename symbols and files relating to CVE-2017-5715 179e18a - Fixup SMCCC_FEATURES return value for SMCCC_ARCH_WORKAROUND_1
2671898 - lx2: Remove setting of POWMGTCSR[LPM20_RQ] from LPM20 flow 7ca22ff - Adding LX2160 system power-down (LPM20)
0f81f07 - ls2088ardb: Add support of Non-ECC UDIMM
ee53ed7 - nxp/lx2: Enable Errate ERRATA_A72_859971 on LX2

*add ddr-phy to DEPENDS for lx2160a
*install ddr4_pmu_train_dmem.bin

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>

---
 recipes-bsp/atf/atf_git.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

         bl32opt="BL32=${bl32}"
         spdopt="SPD=opteed" 
     fi
+    if [ -f ${DEPLOY_DIR_IMAGE}/ddr-phy/ddr4_pmu_train_dmem.bin ]; then
+        cp ${DEPLOY_DIR_IMAGE}/ddr-phy/*.bin ${S}/
+    fi
 
     for d in ${BOOTTYPE}; do
         case $d in
--
2.7.4