]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
board: ti: am654: r5: Add initial support for am654
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 2 Nov 2018 14:21:07 +0000 (19:51 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 16 Nov 2018 21:51:59 +0000 (16:51 -0500)
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>
board/ti/am65x/Kconfig
include/configs/am65x_evm.h
include/configs/ti_armv7_common.h

index 591600483e9a049f3d020fc3b8a01efde7174f6d..d4b36dbb42f3d68a2bee37da9c1cbc01a8421b32 100644 (file)
@@ -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
index 65015df1317e496b11ee65d2ac8fc7544247d955..484c5ef2fe1d252a70ab06aa0476ae75bf37ef94 100644 (file)
 /* 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
index 55b9b45eecc93fc06d2ca2a2be698457095d5990..0f892e51d1954dfb812adf3604b77865f2484239 100644 (file)
 
 /* 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 */