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 |
| 13 | select SOC_K3_AM62A7 |
| 14 | imply BOARD |
| 15 | imply SPL_BOARD |
| 16 | imply TI_I2C_BOARD_DETECT |
| 17 | |
| 18 | config TARGET_AM62A7_R5_EVM |
| 19 | bool "TI K3 based AM62A7 EVM running on R5" |
| 20 | select CPU_V7R |
| 21 | select SYS_THUMB_BUILD |
| 22 | select K3_LOAD_SYSFW |
| 23 | select SOC_K3_AM62A7 |
| 24 | select RAM |
| 25 | select SPL_RAM |
| 26 | select K3_DDRSS |
| 27 | imply SYS_K3_SPL_ATF |
| 28 | imply TI_I2C_BOARD_DETECT |
| 29 | |
| 30 | endchoice |
| 31 | |
| 32 | if TARGET_AM62A7_R5_EVM || TARGET_AM62A7_A53_EVM |
| 33 | |
| 34 | config SYS_BOARD |
| 35 | default "am62ax" |
| 36 | |
| 37 | config SYS_VENDOR |
| 38 | default "ti" |
| 39 | |
| 40 | config SYS_CONFIG_NAME |
| 41 | default "am62ax_evm" |
| 42 | |
| 43 | source "board/ti/common/Kconfig" |
| 44 | |
| 45 | endif |
| 46 | |
| 47 | if TARGET_AM62A7_R5_EVM |
| 48 | |
| 49 | config SPL_LDSCRIPT |
| 50 | default "arch/arm/mach-omap2/u-boot-spl.lds" |
| 51 | |
| 52 | endif |