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 |
| 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 |
| 21 | select SOC_K3_AM642 |
| 22 | imply SYS_K3_SPL_ATF |
| 23 | |
| 24 | endchoice |
| 25 | |
| 26 | if TARGET_AM642_A53_EVM |
| 27 | |
| 28 | config SYS_BOARD |
| 29 | default "am64x" |
| 30 | |
| 31 | config SYS_VENDOR |
| 32 | default "ti" |
| 33 | |
| 34 | config SYS_CONFIG_NAME |
| 35 | default "am64x_evm" |
| 36 | |
| 37 | endif |
| 38 | |
| 39 | if TARGET_AM642_R5_EVM |
| 40 | |
| 41 | config SYS_BOARD |
| 42 | default "am64x" |
| 43 | |
| 44 | config SYS_VENDOR |
| 45 | default "ti" |
| 46 | |
| 47 | config SYS_CONFIG_NAME |
| 48 | default "am64x_evm" |
| 49 | |
| 50 | config SPL_LDSCRIPT |
| 51 | default "arch/arm/mach-omap2/u-boot-spl.lds" |
| 52 | |
| 53 | endif |