[meta-ti] [PATCH 2/3] u-boot-ti: move setting UBOOT_SUFFIX and SPL_BINARY to machine configs

Denys Dmytriyenko denis at denix.org
Wed Oct 17 14:58:39 PDT 2018


From: Denys Dmytriyenko <denys at ti.com>

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 recipes-bsp/u-boot/u-boot-ti.inc | 13 +------------
 1 file changed, 1 insertion(+), 12 deletions(-)

diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
index f22fcb4..d3267be 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):
 UBOOT_LOCALVERSION = "-g${@get_git_revision('${S}').__str__()[:10]}"
 
 UBOOT_SUFFIX ?= "img"
+SPL_BINARY ?= "MLO"
 
 require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
 
@@ -50,15 +51,6 @@ S = "${WORKDIR}/git"
 TI_SECURE_DEV_PKG ?= ""
 export TI_SECURE_DEV_PKG
 
-# SPL (Second Program Loader)
-SPL_BINARY = "MLO"
-SPL_BINARY_k2e-hs-evm = ""
-SPL_BINARY_k2hk-hs-evm = ""
-SPL_BINARY_k2g-hs-evm = ""
-SPL_BINARY_k2l-hs-evm = ""
-SPL_BINARY_omapl138 = ""
-SPL_BINARY_k3 = "tispl.bin"
-
 # SPL (Second Program Loader) to be loaded over UART
 SPL_UART_BINARY = "u-boot-spl.bin"
 SPL_UART_BINARY_keystone = ""
@@ -67,9 +59,6 @@ SPL_UART_BINARY_k3 = ""
 SPL_UART_IMAGE ?= "${SPL_UART_BINARY}-${MACHINE}-${PV}-${PR}"
 SPL_UART_SYMLINK ?= "${SPL_UART_BINARY}-${MACHINE}"
 
-# Keystone specifics
-UBOOT_SUFFIX_keystone = "bin"
-
 # SPI NOR Flash binaries
 UBOOT_SPI_SPL_BINARY = "u-boot-spl.bin"
 UBOOT_SPI_SPL_BINARY_k2e-hs-evm = ""
-- 
2.7.4



More information about the meta-ti mailing list