summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-10-18 03:58:39 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-10-17 22:48:53 +0000
commit0dc198a34b67162a76582809648ee7d948080f49 (patch)
treeded73f279e417189f5cfdcf72c26e516fb7e3ede
parentde7203d403946ea1c0a01ed90d682c169cd210ad (diff)
downloadmeta-ti-0dc198a34b67162a76582809648ee7d948080f49.tar.gz
u-boot-ti: move setting UBOOT_SUFFIX and SPL_BINARY to machine configs
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-ti.inc13
1 files changed, 1 insertions, 12 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index f22fcb4d..d3267be1 100644
--- a/recipes-bsp/u-boot/u-boot-ti.inc
+++ b/recipes-bsp/u-boot/u-boot-ti.inc
@@ -11,6 +11,7 @@ def get_git_revision(p):
11UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}" 11UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
12 12
13UBOOT_SUFFIX ?= "img" 13UBOOT_SUFFIX ?= "img"
14SPL_BINARY ?= "MLO"
14 15
15require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc 16require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
16 17
@@ -50,15 +51,6 @@ S = "${WORKDIR}/git"
50TI_SECURE_DEV_PKG ?= "" 51TI_SECURE_DEV_PKG ?= ""
51export TI_SECURE_DEV_PKG 52export TI_SECURE_DEV_PKG
52 53
53# SPL (Second Program Loader)
54SPL_BINARY = "MLO"
55SPL_BINARY_k2e-hs-evm = ""
56SPL_BINARY_k2hk-hs-evm = ""
57SPL_BINARY_k2g-hs-evm = ""
58SPL_BINARY_k2l-hs-evm = ""
59SPL_BINARY_omapl138 = ""
60SPL_BINARY_k3 = "tispl.bin"
61
62# SPL (Second Program Loader) to be loaded over UART 54# SPL (Second Program Loader) to be loaded over UART
63SPL_UART_BINARY = "u-boot-spl.bin" 55SPL_UART_BINARY = "u-boot-spl.bin"
64SPL_UART_BINARY_keystone = "" 56SPL_UART_BINARY_keystone = ""
@@ -67,9 +59,6 @@ SPL_UART_BINARY_k3 = ""
67SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}" 59SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
68SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}" 60SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
69 61
70# Keystone specifics
71UBOOT_SUFFIX_keystone = "bin"
72
73# SPI NOR Flash binaries 62# SPI NOR Flash binaries
74UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin" 63UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
75UBOOT_SPI_SPL_BINARY_k2e-hs-evm = "" 64UBOOT_SPI_SPL_BINARY_k2e-hs-evm = ""