[v2,19/41] ddr-phy: add recipes

Submitted by C.R. Guo on Jan. 11, 2019, 3:14 a.m. | Patch ID: 157759

Details

Message ID 1547176411-1127-19-git-send-email-chunrong.guo@nxp.com
State Accepted
Headers show

Commit Message

C.R. Guo Jan. 11, 2019, 3:14 a.m.
From: Chunrong Guo <chunrong.guo@nxp.com>

*update to lsdk 1812 tag
include the following changes
14d03e6 - Add fip file for DDR binaries for TF-A flow
241bedb - lx2: ddr: phy: add rdimm phy binaries.
2cb8757 - lx2: ddr: phy: add udimm phy binaries.
4081187 - Initial Commit

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
---
 recipes-bsp/ddr-phy/ddr-phy_git.bb | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 recipes-bsp/ddr-phy/ddr-phy_git.bb

Patch hide | download patch | download mbox

diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
new file mode 100644
index 0000000..ebd68c2
--- /dev/null
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -0,0 +1,29 @@ 
+SUMMARY = "DDR firmware repository"
+LICENSE = "NXP-Binary-EULA"
+LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430d74"
+
+inherit deploy fsl-eula-unpack
+
+SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1"
+SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c"
+
+S = "${WORKDIR}/git"
+
+REGLEX_lx2160a = "lx2160a"
+
+do_install () {
+    install -d ${D}/boot
+    install -m 755 ${S}/${REGLEX}/* ${D}/boot
+}
+
+do_deploy () {
+    install -d ${DEPLOYDIR}/ddr-phy
+    install -m 755 ${S}/${REGLEX}/* ${DEPLOYDIR}/ddr-phy
+}
+addtask deploy before do_populate_sysroot after do_install
+
+PACKAGES += "${PN}-image"
+FILES_${PN}-image += "/boot"
+
+COMPATIBLE_MACHINE = "(lx2160a)"
+PACKAGE_ARCH = "${MACHINE_ARCH}"