diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2018-11-02 19:51:07 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-11-16 16:51:59 -0500 |
commit | 9dba883a45b06a99233ab46f11ed24369da62446 (patch) | |
tree | 171ce83306ea7d42181a1670b9933e8233a42765 | |
parent | 59ebf4afa6ba3edc7012e3ac23aae607b0b54dbd (diff) | |
download | u-boot-9dba883a45b06a99233ab46f11ed24369da62446.zip u-boot-9dba883a45b06a99233ab46f11ed24369da62446.tar.gz u-boot-9dba883a45b06a99233ab46f11ed24369da62446.tar.bz2 |
board: ti: am654: r5: Add initial support for am654
Add initial support for AM654 based EVM running on R5.
Reviewed-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
-rw-r--r-- | board/ti/am65x/Kconfig | 24 | ||||
-rw-r--r-- | include/configs/am65x_evm.h | 6 | ||||
-rw-r--r-- | include/configs/ti_armv7_common.h | 2 |
3 files changed, 32 insertions, 0 deletions
diff --git a/board/ti/am65x/Kconfig b/board/ti/am65x/Kconfig index 5916004..d4b36db 100644 --- a/board/ti/am65x/Kconfig +++ b/board/ti/am65x/Kconfig @@ -12,6 +12,14 @@ config TARGET_AM654_A53_EVM select ARM64 select SOC_K3_AM6 +config TARGET_AM654_R5_EVM + bool "TI K3 based AM654 EVM running on R5" + select CPU_V7R + select SYS_THUMB_BUILD + select SOC_K3_AM6 + select K3_AM654_DDRSS + imply SYS_K3_SPL_ATF + endchoice if TARGET_AM654_A53_EVM @@ -26,3 +34,19 @@ config SYS_CONFIG_NAME default "am65x_evm" endif + +if TARGET_AM654_R5_EVM + +config SYS_BOARD + default "am65x" + +config SYS_VENDOR + default "ti" + +config SYS_CONFIG_NAME + default "am65x_evm" + +config SPL_LDSCRIPT + default "arch/arm/mach-omap2/u-boot-spl.lds" + +endif diff --git a/include/configs/am65x_evm.h b/include/configs/am65x_evm.h index 65015df..484c5ef 100644 --- a/include/configs/am65x_evm.h +++ b/include/configs/am65x_evm.h @@ -21,6 +21,12 @@ /* SPL Loader Configuration */ #ifdef CONFIG_TARGET_AM654_A53_EVM #define CONFIG_SPL_TEXT_BASE 0x80080000 +#else +#define CONFIG_SPL_TEXT_BASE 0x41c00000 +#endif + +#ifdef CONFIG_SYS_K3_SPL_ATF +#define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "tispl.bin" #endif #define CONFIG_SKIP_LOWLEVEL_INIT diff --git a/include/configs/ti_armv7_common.h b/include/configs/ti_armv7_common.h index 55b9b45..0f892e5 100644 --- a/include/configs/ti_armv7_common.h +++ b/include/configs/ti_armv7_common.h @@ -165,7 +165,9 @@ /* FAT sd card locations. */ #define CONFIG_SYS_MMCSD_FS_BOOT_PARTITION 1 +#ifndef CONFIG_SPL_FS_LOAD_PAYLOAD_NAME #define CONFIG_SPL_FS_LOAD_PAYLOAD_NAME "u-boot.img" +#endif #ifdef CONFIG_SPL_OS_BOOT /* FAT */ |