[meta-ti] [PATCH 5/6] conf/machine, u-boot-ti-staging: add am335x-hs-evm platform

Denys Dmytriyenko denis at denix.org
Mon Sep 19 09:59:29 PDT 2016


From: Denys Dmytriyenko <denys at ti.com>

Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
 conf/machine/am335x-hs-evm.conf                 | 14 ++++++++++++++
 recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb |  7 +++++++
 2 files changed, 21 insertions(+)
 create mode 100644 conf/machine/am335x-hs-evm.conf

diff --git a/conf/machine/am335x-hs-evm.conf b/conf/machine/am335x-hs-evm.conf
new file mode 100644
index 0000000..674a764
--- /dev/null
+++ b/conf/machine/am335x-hs-evm.conf
@@ -0,0 +1,14 @@
+#@TYPE: Machine
+#@NAME: AM335x HS EVM
+#@DESCRIPTION: Machine configuration for the TI AM435x HS EVM
+
+require conf/machine/am335x-evm.conf
+
+UBOOT_MACHINE = "am335x_hs_evm_mmc_config"
+
+UBOOT_ENTRYPOINT = "0x82000000"
+UBOOT_LOADADDRESS = "0x82000000"
+UBOOT_RD_LOADADDRESS = "0x84000000"
+UBOOT_RD_ENTRYPOINT = "0x84000000"
+
+TI_SECURE_DEV_PKG = "${TI_SECURE_DEV_PKG_CAT}/am3x"
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
index 868109b..c3b55ac 100644
--- a/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
+++ b/recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb
@@ -53,6 +53,13 @@ do_compile_append_am437x-hs-evm () {
 	fi
 }
 
+do_compile_append_am335x-hs-evm () {
+	if [ -f ${S}/u-boot-spl_HS_ISSW ]; then
+		rm -rf ${S}/MLO
+		cp ${S}/u-boot-spl_HS_ISSW ${S}/MLO
+	fi
+}
+
 do_install_append () {
 	if [ -f ${S}/${UBOOT_HS_XLD_BINARY} ]; then
 		install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}
-- 
2.7.4



More information about the meta-ti mailing list