summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/ddr-phy/ddr-phy_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/ddr-phy/ddr-phy_git.bb')
-rw-r--r--recipes-bsp/ddr-phy/ddr-phy_git.bb14
1 files changed, 8 insertions, 6 deletions
diff --git a/recipes-bsp/ddr-phy/ddr-phy_git.bb b/recipes-bsp/ddr-phy/ddr-phy_git.bb
index 98a9b029..d98d102f 100644
--- a/recipes-bsp/ddr-phy/ddr-phy_git.bb
+++ b/recipes-bsp/ddr-phy/ddr-phy_git.bb
@@ -4,19 +4,18 @@ LIC_FILES_CHKSUM = "file://NXP-Binary-EULA.txt;md5=89cc852481956e861228286ac7430
4 4
5inherit deploy fsl-eula-unpack 5inherit deploy fsl-eula-unpack
6 6
7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1 \ 7SRC_URI = "git://github.com/nxp/ddr-phy-binary.git;fsl-eula=true;nobranch=1"
8 git://source.codeaurora.org/external/qoriq/qoriq-components/atf;nobranch=1;destsuffix=git/atf;name=atf"
9SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c" 8SRCREV = "14d03e6e748ed5ebb9440f264bb374f1280b061c"
10SRCREV_atf = "17f94e4315e81e3d1b22d863d9614d724e8273dc"
11 9
12S = "${WORKDIR}/git" 10S = "${WORKDIR}/git"
13 11
14REGLEX_lx2160a = "lx2160a" 12REGLEX_lx2160a = "lx2160a"
15 13
16do_install () { 14DEPENDS += "atf-tools-native"
17 oe_runmake -C ${S}/atf fiptool 15
16do_compile() {
18 cd ${S}/${REGLEX} 17 cd ${S}/${REGLEX}
19 ${S}/atf/tools/fiptool/fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \ 18 fiptool create --ddr-immem-udimm-1d ddr4_pmu_train_imem.bin \
20 --ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \ 19 --ddr-immem-udimm-2d ddr4_2d_pmu_train_imem.bin \
21 --ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \ 20 --ddr-dmmem-udimm-1d ddr4_pmu_train_dmem.bin \
22 --ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \ 21 --ddr-dmmem-udimm-2d ddr4_2d_pmu_train_dmem.bin \
@@ -25,6 +24,9 @@ do_install () {
25 --ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \ 24 --ddr-dmmem-rdimm-1d ddr4_rdimm_pmu_train_dmem.bin \
26 --ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \ 25 --ddr-dmmem-rdimm-2d ddr4_rdimm2d_pmu_train_dmem.bin \
27 fip_ddr_all.bin 26 fip_ddr_all.bin
27}
28
29do_install () {
28 install -d ${D}/boot 30 install -d ${D}/boot
29 install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot 31 install -m 755 ${S}/${REGLEX}/*.bin ${D}/boot
30} 32}