Bryan Brattlof | d90c8bc | 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 |
Neha Malcom Francis | 6d6228a | 2023-07-22 00:14:40 +0530 | [diff] [blame] | 13 | select BINMAN |
Bryan Brattlof | d90c8bc | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 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 |
Bryan Brattlof | d90c8bc | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 23 | select RAM |
| 24 | select SPL_RAM |
| 25 | select K3_DDRSS |
Neha Malcom Francis | 6d6228a | 2023-07-22 00:14:40 +0530 | [diff] [blame] | 26 | select BINMAN |
Bryan Brattlof | d90c8bc | 2022-11-03 19:13:57 -0500 | [diff] [blame] | 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 |