summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-ti.inc
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2017-06-15 06:49:32 +0000
committerDenys Dmytriyenko <denys@ti.com>2017-06-15 14:25:40 -0400
commitb5579531fc03286e50e55481ded598401eb6a122 (patch)
treec7a5244b64ad9ffc2dc3b13289caa88abe26db7d /recipes-bsp/u-boot/u-boot-ti.inc
parentf4a6993aaeac4f9e5e97843a7a6e6e58e2d793f6 (diff)
downloadmeta-ti-b5579531fc03286e50e55481ded598401eb6a122.tar.gz
u-boot-ti: add support for u-boot-spl_HS_ISSW images
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-bsp/u-boot/u-boot-ti.inc')
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc28
1 files changed, 28 insertions, 0 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index 79291e21..5b49777f 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -86,6 +86,11 @@ UBOOT_HS_MLO_BINARY = "u-boot_HS_MLO"
86UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}" 86UBOOT_HS_MLO_IMAGE = "u-boot_HS_MLO-${MACHINE}-${PV}-${PR}"
87UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}" 87UBOOT_HS_MLO_SYMLINK = "u-boot_HS_MLO-${MACHINE}"
88 88
89# HS ISSW
90UBOOT_HS_ISSW_BINARY = "u-boot-spl_HS_ISSW"
91UBOOT_HS_ISSW_IMAGE = "u-boot-spl_HS_ISSW-${MACHINE}-${PV}-${PR}"
92UBOOT_HS_ISSW_SYMLINK = "u-boot-spl_HS_ISSW-${MACHINE}"
93
89# HS 2ND 94# HS 2ND
90UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND" 95UBOOT_HS_2ND_BINARY = "u-boot-spl_HS_2ND"
91UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}" 96UBOOT_HS_2ND_IMAGE = "u-boot-spl_HS_2ND-${MACHINE}-${PV}-${PR}"
@@ -115,6 +120,11 @@ do_install_append () {
115 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type} 120 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}-${type}
116 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY} 121 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${D}/boot/${UBOOT_HS_MLO_BINARY}
117 fi 122 fi
123 if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
124 install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}-${type}
125 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}-${type}
126 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
127 fi
118 if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then 128 if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
119 install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type} 129 install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}-${type}
120 ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type} 130 ln -sf ${UBOOT_HS_2ND_IMAGE}-${type} ${D}/boot/${UBOOT_HS_2ND_BINARY}-${type}
@@ -138,6 +148,10 @@ do_install_append () {
138 install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE} 148 install ${B}/${UBOOT_HS_MLO_BINARY} ${D}/boot/${UBOOT_HS_MLO_IMAGE}
139 ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY} 149 ln -sf ${UBOOT_HS_MLO_IMAGE} ${D}/boot/${UBOOT_HS_MLO_BINARY}
140 fi 150 fi
151 if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
152 install ${B}/${UBOOT_HS_ISSW_BINARY} ${D}/boot/${UBOOT_HS_ISSW_IMAGE}
153 ln -sf ${UBOOT_HS_ISSW_IMAGE} ${D}/boot/${UBOOT_HS_ISSW_BINARY}
154 fi
141 if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then 155 if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
142 install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE} 156 install ${B}/${UBOOT_HS_2ND_BINARY} ${D}/boot/${UBOOT_HS_2ND_IMAGE}
143 ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY} 157 ln -sf ${UBOOT_HS_2ND_IMAGE} ${D}/boot/${UBOOT_HS_2ND_BINARY}
@@ -179,6 +193,14 @@ do_deploy_append () {
179 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type} 193 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}-${type}
180 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY} 194 ln -sf ${UBOOT_HS_MLO_IMAGE}-${type} ${UBOOT_HS_MLO_BINARY}
181 fi 195 fi
196 if [ -f ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ]; then
197 install ${B}/${config}/${UBOOT_HS_ISSW_BINARY} ${DEPLOYDIR}/${UBOOT_HS_ISSW_IMAGE}-${type}
198 rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
199 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}-${type}
200 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_SYMLINK}
201 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}-${type}
202 ln -sf ${UBOOT_HS_ISSW_IMAGE}-${type} ${UBOOT_HS_ISSW_BINARY}
203 fi
182 if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then 204 if [ -f ${B}/${config}/${UBOOT_HS_2ND_BINARY} ]; then
183 install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE}-${type} 205 install ${B}/${config}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE}-${type}
184 rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK} 206 rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}
@@ -212,6 +234,12 @@ do_deploy_append () {
212 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK} 234 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_SYMLINK}
213 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY} 235 ln -sf ${UBOOT_HS_MLO_IMAGE} ${UBOOT_HS_MLO_BINARY}
214 fi 236 fi
237 if [ -f ${B}/${UBOOT_HS_ISSW_BINARY} ]; then
238 install ${B}/${UBOOT_HS_ISSW_BINARY} ${DEPLOYDIR}/${UBOOT_HS_ISSW_IMAGE}
239 rm -f ${UBOOT_HS_ISSW_BINARY} ${UBOOT_HS_ISSW_SYMLINK}
240 ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_SYMLINK}
241 ln -sf ${UBOOT_HS_ISSW_IMAGE} ${UBOOT_HS_ISSW_BINARY}
242 fi
215 if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then 243 if [ -f ${B}/${UBOOT_HS_2ND_BINARY} ]; then
216 install ${B}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE} 244 install ${B}/${UBOOT_HS_2ND_BINARY} ${DEPLOYDIR}/${UBOOT_HS_2ND_IMAGE}
217 rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK} 245 rm -f ${UBOOT_HS_2ND_BINARY} ${UBOOT_HS_2ND_SYMLINK}