1# SPDX-License-Identifier: GPL-2.0+
2#
3# Copyright (C) 2017-2018 Texas Instruments Incorporated - http://www.ti.com/
4#	Lokesh Vutla <lokeshvutla@ti.com>
5
6choice
7	prompt "K3 AM65 based boards"
8	optional
9
10config TARGET_AM654_A53_EVM
11	bool "TI K3 based AM654 EVM running on A53"
12	select ARM64
13	select SOC_K3_AM6
14	select SYS_DISABLE_DCACHE_OPS
15	select BOARD_LATE_INIT
16	imply TI_I2C_BOARD_DETECT
17
18config TARGET_AM654_R5_EVM
19	bool "TI K3 based AM654 EVM running on R5"
20	select CPU_V7R
21	select SYS_THUMB_BUILD
22	select SOC_K3_AM6
23	select K3_LOAD_SYSFW
24	select K3_AM654_DDRSS
25	imply SYS_K3_SPL_ATF
26	imply TI_I2C_BOARD_DETECT
27
28endchoice
29
30if TARGET_AM654_A53_EVM
31
32config SYS_BOARD
33       default "am65x"
34
35config SYS_VENDOR
36       default "ti"
37
38config SYS_CONFIG_NAME
39       default "am65x_evm"
40
41source "board/ti/common/Kconfig"
42
43endif
44
45if TARGET_AM654_R5_EVM
46
47config SYS_BOARD
48       default "am65x"
49
50config SYS_VENDOR
51       default "ti"
52
53config SYS_CONFIG_NAME
54       default "am65x_evm"
55
56config SPL_LDSCRIPT
57	default "arch/arm/mach-omap2/u-boot-spl.lds"
58
59source "board/ti/common/Kconfig"
60
61endif
62