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 |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 12 | imply BOARD |
| 13 | imply SPL_BOARD |
Lokesh Vutla | 35c33bb | 2021-05-06 16:45:04 +0530 | [diff] [blame] | 14 | imply TI_I2C_BOARD_DETECT |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 15 | |
| 16 | config TARGET_AM642_R5_EVM |
| 17 | bool "TI K3 based AM642 EVM running on R5" |
| 18 | select CPU_V7R |
| 19 | select SYS_THUMB_BUILD |
| 20 | select K3_LOAD_SYSFW |
Dave Gerlach | ad38f51 | 2021-05-04 18:00:53 -0500 | [diff] [blame] | 21 | select RAM |
| 22 | select SPL_RAM |
| 23 | select K3_DDRSS |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 24 | imply SYS_K3_SPL_ATF |
Lokesh Vutla | 4e34159 | 2021-05-06 16:44:50 +0530 | [diff] [blame] | 25 | imply TI_I2C_BOARD_DETECT |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 26 | |
| 27 | endchoice |
| 28 | |
| 29 | if TARGET_AM642_A53_EVM |
| 30 | |
| 31 | config SYS_BOARD |
| 32 | default "am64x" |
| 33 | |
| 34 | config SYS_VENDOR |
| 35 | default "ti" |
| 36 | |
| 37 | config SYS_CONFIG_NAME |
| 38 | default "am64x_evm" |
| 39 | |
Lokesh Vutla | 35c33bb | 2021-05-06 16:45:04 +0530 | [diff] [blame] | 40 | source "board/ti/common/Kconfig" |
| 41 | |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 42 | endif |
| 43 | |
| 44 | if TARGET_AM642_R5_EVM |
| 45 | |
| 46 | config SYS_BOARD |
| 47 | default "am64x" |
| 48 | |
| 49 | config SYS_VENDOR |
| 50 | default "ti" |
| 51 | |
| 52 | config SYS_CONFIG_NAME |
| 53 | default "am64x_evm" |
| 54 | |
Lokesh Vutla | 4e34159 | 2021-05-06 16:44:50 +0530 | [diff] [blame] | 55 | source "board/ti/common/Kconfig" |
| 56 | |
Dave Gerlach | 3dc33f1 | 2021-04-23 11:27:42 -0500 | [diff] [blame] | 57 | endif |