diff options
| author | Denys Dmytriyenko <denys@ti.com> | 2016-02-23 03:54:22 +0000 |
|---|---|---|
| committer | Denys Dmytriyenko <denys@ti.com> | 2016-02-23 16:26:48 -0500 |
| commit | d3e3d05baab04a19a1b3f5718a47b3098c55e428 (patch) | |
| tree | 6332b732cc0b7cedea0cc94c2c51fa8242865005 | |
| parent | c2526d67ea9efd9e98036b569eb1829c1feab8dc (diff) | |
| download | meta-ti-d3e3d05baab04a19a1b3f5718a47b3098c55e428.tar.gz | |
u-boot-ti-staging: add support for DRA7 and AM4 secure devices
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
| -rw-r--r-- | recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb b/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb index 304b0ab6..ed827fc5 100644 --- a/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb +++ b/recipes-bsp/u-boot/u-boot-ti-staging_2015.07.bb | |||
| @@ -7,7 +7,7 @@ DESCRIPTION = "u-boot bootloader for TI devices" | |||
| 7 | 7 | ||
| 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" | 8 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" |
| 9 | 9 | ||
| 10 | PR = "r19" | 10 | PR = "r20" |
| 11 | PV_append = "+git${SRCPV}" | 11 | PV_append = "+git${SRCPV}" |
| 12 | 12 | ||
| 13 | SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" | 13 | SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" |
| @@ -16,6 +16,12 @@ BRANCH ?= "ti-u-boot-2015.07" | |||
| 16 | 16 | ||
| 17 | SRCREV = "dca348d604c0117fa7851e3a4a194bedb42b739b" | 17 | SRCREV = "dca348d604c0117fa7851e3a4a194bedb42b739b" |
| 18 | 18 | ||
| 19 | # Support for secure devices - detailed info is in doc/README.ti-secure | ||
| 20 | TI_SECURE_DEV_PKG ?= "" | ||
| 21 | TI_SECURE_DEV_PKG_dra7xx-hs-evm = "${TI_SECURE_DEV_PKG_DRA7}" | ||
| 22 | TI_SECURE_DEV_PKG_am437x-hs-evm = "${TI_SECURE_DEV_PKG_AM4}" | ||
| 23 | export TI_SECURE_DEV_PKG | ||
| 24 | |||
| 19 | SPL_BINARY = "MLO" | 25 | SPL_BINARY = "MLO" |
| 20 | SPL_UART_BINARY = "u-boot-spl.bin" | 26 | SPL_UART_BINARY = "u-boot-spl.bin" |
| 21 | 27 | ||
| @@ -36,6 +42,13 @@ UBOOT_SPI_SYMLINK = "u-boot-${MACHINE}.img" | |||
| 36 | UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" | 42 | UBOOT_SPI_GPH_IMAGE = "u-boot-spi-${MACHINE}-${PV}-${PR}.gph" |
| 37 | UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" | 43 | UBOOT_SPI_GPH_SYMLINK = "u-boot-spi-${MACHINE}.gph" |
| 38 | 44 | ||
| 45 | do_compile_append_am437x-hs-evm () { | ||
| 46 | if [ -f ${S}/u-boot-spl_HS_ISSW ]; then | ||
| 47 | rm -rf ${S}/MLO | ||
| 48 | cp ${S}/u-boot-spl_HS_ISSW ${S}/MLO | ||
| 49 | fi | ||
| 50 | } | ||
| 51 | |||
| 39 | do_install_append_keystone () { | 52 | do_install_append_keystone () { |
| 40 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} | 53 | install ${S}/spl/${UBOOT_SPI_SPL_BINARY} ${D}/boot/${UBOOT_SPI_SPL_IMAGE} |
| 41 | ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} | 54 | ln -sf ${UBOOT_SPI_SPL_IMAGE} ${D}/boot/${UBOOT_SPI_SPL_BINARY} |
