Skip to contentSkip to conversation

Denys Dmytriyenko : conf/machine, u-boot-ti-staging: add am335x-hs-evm platform

PATCH Arago Project git 1 participant 1 message Sep 19, 2016

lore
Share & tools
lore
#0 lore raw
Module: meta-ti
Branch: master
Commit: 6e43afafb5967e8ab1c603224e0fdd1fb62da4b2
URL:    http://arago-project.org/git/meta-ti.git?a=commit;h=6e43afafb5967e8ab1c603224e0fdd1fb62da4b2
Author: Denys Dmytriyenko <[email protected]>
Date:   Mon Sep 19 22:59:29 2016 +0000

conf/machine, u-boot-ti-staging: add am335x-hs-evm platform

---

 conf/machine/am335x-hs-evm.conf                 |   14 ++++++++++++++
 recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb |    7 +++++++
 2 files changed, 21 insertions(+), 0 deletions(-)
conf/machine/am335x-hs-evm.conf new file +14 -0
new file mode 100644
index 0000000..674a764
@@ -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"
recipes-bsp/u-boot/u-boot-ti-staging_2016.05.bb +7 -0
index 868109b..c3b55ac 100644
@@ -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}