]> code.ossystems Code Review - meta-freescale.git/commitdiff
ddr-phy: add recipes
authorChunrong Guo <chunrong.guo@nxp.com>
Fri, 11 Jan 2019 03:14:32 +0000 (03:14 +0000)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 14 Jan 2019 18:23:38 +0000 (16:23 -0200)
*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 [new file with mode: 0644]

diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
new file mode 100644 (file)
index 0000000..ebd68c2
--- /dev/null
@@ -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}"