Bryan Brattlof | a0659a5 | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | # |
| 5 | |
| 6 | choice |
| 7 | prompt "TI K3 AM62Ax based boards" |
| 8 | optional |
| 9 | |
| 10 | config TARGET_AM62A7_A53_EVM |
| 11 | bool "TI K3 based AM62A7 EVM running on A53" |
| 12 | select ARM64 |
Bryan Brattlof | a0659a5 | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 13 | imply BOARD |
| 14 | imply SPL_BOARD |
| 15 | imply TI_I2C_BOARD_DETECT |
| 16 | |
| 17 | config TARGET_AM62A7_R5_EVM |
| 18 | bool "TI K3 based AM62A7 EVM running on R5" |
| 19 | select CPU_V7R |
| 20 | select SYS_THUMB_BUILD |
| 21 | select K3_LOAD_SYSFW |
Bryan Brattlof | a0659a5 | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 22 | select RAM |
| 23 | select SPL_RAM |
| 24 | select K3_DDRSS |
| 25 | imply SYS_K3_SPL_ATF |
| 26 | imply TI_I2C_BOARD_DETECT |
| 27 | |
| 28 | endchoice |
| 29 | |
| 30 | if TARGET_AM62A7_R5_EVM || TARGET_AM62A7_A53_EVM |
| 31 | |
| 32 | config SYS_BOARD |
| 33 | default "am62ax" |
| 34 | |
| 35 | config SYS_VENDOR |
| 36 | default "ti" |
| 37 | |
| 38 | config SYS_CONFIG_NAME |
| 39 | default "am62ax_evm" |
| 40 | |
| 41 | source "board/ti/common/Kconfig" |
| 42 | |
| 43 | endif |
| 44 | |
| 45 | if TARGET_AM62A7_R5_EVM |
| 46 | |
| 47 | config SPL_LDSCRIPT |
| 48 | default "arch/arm/mach-omap2/u-boot-spl.lds" |
| 49 | |
| 50 | endif |