From e54d33089ade90354424f0c2f923ea040a656a94 Mon Sep 17 00:00:00 2001 From: Denys Dmytriyenko Date: Mon, 19 Sep 2016 22:59:29 +0000 Subject: [PATCH] conf/machine, u-boot-ti-staging: add am335x-hs-evm platform Signed-off-by: Denys Dmytriyenko --- 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 00000000..674a764c --- /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 868109b6..c3b55ac6 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}