summaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-bsp/u-boot')
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc42
1 files changed, 27 insertions, 15 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index 9d827117..b66a7a6f 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -67,6 +67,10 @@ UBOOT_SPI_SPL_BINARY_k2hk-hs-evm = ""
67UBOOT_SPI_SPL_BINARY_k2g-hs-evm = "" 67UBOOT_SPI_SPL_BINARY_k2g-hs-evm = ""
68UBOOT_SPI_SPL_BINARY_k2l-hs-evm = "" 68UBOOT_SPI_SPL_BINARY_k2l-hs-evm = ""
69UBOOT_SPI_BINARY = "u-boot.img" 69UBOOT_SPI_BINARY = "u-boot.img"
70UBOOT_SPI_BINARY_k2e-hs-evm = ""
71UBOOT_SPI_BINARY_k2hk-hs-evm = ""
72UBOOT_SPI_BINARY_k2g-hs-evm = ""
73UBOOT_SPI_BINARY_k2l-hs-evm = ""
70UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph" 74UBOOT_SPI_GPH_BINARY = "u-boot-spi.gph"
71UBOOT_SPI_GPH_BINARY_k2e-hs-evm = "" 75UBOOT_SPI_GPH_BINARY_k2e-hs-evm = ""
72UBOOT_SPI_GPH_BINARY_k2hk-hs-evm = "" 76UBOOT_SPI_GPH_BINARY_k2hk-hs-evm = ""
@@ -269,9 +273,11 @@ do_install_append_keystone () {
269 ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_SPL_BINARY} 273 ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
270 fi 274 fi
271 275
272 install ${B}/${config}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}-${type} 276 if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
273 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY}-${type} 277 install ${B}/${config}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}-${type}
274 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY} 278 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY}-${type}
279 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${D}/boot/${UBOOT_SPI_BINARY}
280 fi
275 281
276 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then 282 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
277 install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}-${type} 283 install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}-${type}
@@ -289,8 +295,10 @@ do_install_append_keystone () {
289 ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} 295 ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY}
290 fi 296 fi
291 297
292 install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE} 298 if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
293 ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY} 299 install ${B}/${UBOOT_SPI_BINARY} ${D}/boot/${UBOOT_SPI_IMAGE}
300 ln -sf ${UBOOT_SPI_IMAGE} ${D}/boot/${UBOOT_SPI_BINARY}
301 fi
294 302
295 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then 303 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
296 install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE} 304 install ${B}/${UBOOT_SPI_GPH_BINARY} ${D}/boot/${UBOOT_SPI_GPH_IMAGE}
@@ -317,12 +325,14 @@ do_deploy_append_keystone () {
317 ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_BINARY} 325 ln -sf ${UBOOT_SPI_SPL_IMAGE}-${type} ${UBOOT_SPI_SPL_BINARY}
318 fi 326 fi
319 327
320 install ${B}/${config}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}-${type} 328 if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
321 rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} 329 install ${B}/${config}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}-${type}
322 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK}-${type} 330 rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
323 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK} 331 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK}-${type}
324 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY}-${type} 332 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_SYMLINK}
325 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY} 333 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY}-${type}
334 ln -sf ${UBOOT_SPI_IMAGE}-${type} ${UBOOT_SPI_BINARY}
335 fi
326 336
327 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then 337 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
328 install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}-${type} 338 install ${B}/${config}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}-${type}
@@ -345,10 +355,12 @@ do_deploy_append_keystone () {
345 ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY} 355 ln -sf ${UBOOT_SPI_SPL_IMAGE} ${UBOOT_SPI_SPL_BINARY}
346 fi 356 fi
347 357
348 install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE} 358 if [ "x${UBOOT_SPI_BINARY}" != "x" ]; then
349 rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK} 359 install ${B}/${UBOOT_SPI_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_IMAGE}
350 ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK} 360 rm -f ${UBOOT_SPI_BINARY} ${UBOOT_SPI_SYMLINK}
351 ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY} 361 ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_SYMLINK}
362 ln -sf ${UBOOT_SPI_IMAGE} ${UBOOT_SPI_BINARY}
363 fi
352 364
353 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then 365 if [ "x${UBOOT_SPI_GPH_BINARY}" != "x" ]; then
354 install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE} 366 install ${B}/${UBOOT_SPI_GPH_BINARY} ${DEPLOYDIR}/${UBOOT_SPI_GPH_IMAGE}