1
0
mirror of https://git.yoctoproject.org/meta-ti synced 2026-05-30 23:40:29 +00:00

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

Signed-off-by: Denys Dmytriyenko <denys@ti.com>
This commit is contained in:
Denys Dmytriyenko
2016-09-19 22:59:29 +00:00
parent 3a20d0540c
commit e54d33089a
2 changed files with 21 additions and 0 deletions
+14
View File
@@ -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"
@@ -53,6 +53,13 @@ do_compile_append_am437x-hs-evm () {
fi 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 () { do_install_append () {
if [ -f ${S}/${UBOOT_HS_XLD_BINARY} ]; then if [ -f ${S}/${UBOOT_HS_XLD_BINARY} ]; then
install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE} install ${S}/${UBOOT_HS_XLD_BINARY} ${D}/boot/${UBOOT_HS_XLD_IMAGE}