Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2020-2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | |
| 5 | choice |
| 6 | prompt "K3 AM64 based boards" |
| 7 | optional |
| 8 | |
| 9 | config TARGET_AM642_A53_EVM |
| 10 | bool "TI K3 based AM642 EVM running on A53" |
| 11 | select ARM64 |
| 12 | select SOC_K3_AM642 |
| 13 | imply BOARD |
| 14 | imply SPL_BOARD |
Lokesh Vutla | 35c33bb | 2021-05-06 16:45:04 +0530 | [diff] [blame] | 15 | imply TI_I2C_BOARD_DETECT |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 16 | |
| 17 | config TARGET_AM642_R5_EVM |
| 18 | bool "TI K3 based AM642 EVM running on R5" |
| 19 | select CPU_V7R |
| 20 | select SYS_THUMB_BUILD |
| 21 | select K3_LOAD_SYSFW |
| 22 | select SOC_K3_AM642 |
Dave Gerlach | ad38f51 | 2021-05-04 18:00:53 -0500 | [diff] [blame] | 23 | select RAM |
| 24 | select SPL_RAM |
| 25 | select K3_DDRSS |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 26 | imply SYS_K3_SPL_ATF |
Lokesh Vutla | 4e34159 | 2021-05-06 16:44:50 +0530 | [diff] [blame] | 27 | imply TI_I2C_BOARD_DETECT |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 28 | |
| 29 | endchoice |
| 30 | |
| 31 | if TARGET_AM642_A53_EVM |
| 32 | |
| 33 | config SYS_BOARD |
| 34 | default "am64x" |
| 35 | |
| 36 | config SYS_VENDOR |
| 37 | default "ti" |
| 38 | |
| 39 | config SYS_CONFIG_NAME |
| 40 | default "am64x_evm" |
| 41 | |
Lokesh Vutla | 35c33bb | 2021-05-06 16:45:04 +0530 | [diff] [blame] | 42 | source "board/ti/common/Kconfig" |
| 43 | |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 44 | endif |
| 45 | |
| 46 | if TARGET_AM642_R5_EVM |
| 47 | |
| 48 | config SYS_BOARD |
| 49 | default "am64x" |
| 50 | |
| 51 | config SYS_VENDOR |
| 52 | default "ti" |
| 53 | |
| 54 | config SYS_CONFIG_NAME |
| 55 | default "am64x_evm" |
| 56 | |
Lokesh Vutla | 4e34159 | 2021-05-06 16:44:50 +0530 | [diff] [blame] | 57 | source "board/ti/common/Kconfig" |
| 58 | |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 59 | endif |