From: Denys Dmytriyenko <de...@ti.com>

Signed-off-by: Denys Dmytriyenko <de...@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

-- 
_______________________________________________
meta-ti mailing list
meta-ti@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-ti

Reply via email to