David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
| 2 | # |
| 3 | # Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/ |
| 4 | # David Huang <d-huang@ti.com> |
| 5 | |
| 6 | choice |
| 7 | prompt "K3 J721S2 board" |
| 8 | optional |
| 9 | |
| 10 | config TARGET_J721S2_A72_EVM |
| 11 | bool "TI K3 based J721S2 EVM running on A72" |
| 12 | select ARM64 |
David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 13 | select BOARD_LATE_INIT |
| 14 | imply TI_I2C_BOARD_DETECT |
| 15 | select SYS_DISABLE_DCACHE_OPS |
| 16 | |
| 17 | config TARGET_J721S2_R5_EVM |
| 18 | bool "TI K3 based J721S2 EVM running on R5" |
| 19 | select CPU_V7R |
| 20 | select SYS_THUMB_BUILD |
David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 21 | select K3_LOAD_SYSFW |
| 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_J721S2_A72_EVM |
| 31 | |
| 32 | config SYS_BOARD |
| 33 | default "j721s2" |
| 34 | |
| 35 | config SYS_VENDOR |
| 36 | default "ti" |
| 37 | |
| 38 | config SYS_CONFIG_NAME |
| 39 | default "j721s2_evm" |
| 40 | |
Neha Malcom Francis | 409af1f | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 41 | config ENV_SOURCE_FILE |
| 42 | default "j721s2" |
| 43 | |
David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 44 | source "board/ti/common/Kconfig" |
| 45 | |
| 46 | endif |
| 47 | |
| 48 | if TARGET_J721S2_R5_EVM |
| 49 | |
| 50 | config SYS_BOARD |
| 51 | default "j721s2" |
| 52 | |
| 53 | config SYS_VENDOR |
| 54 | default "ti" |
| 55 | |
| 56 | config SYS_CONFIG_NAME |
| 57 | default "j721s2_evm" |
| 58 | |
Neha Malcom Francis | 409af1f | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 59 | config ENV_SOURCE_FILE |
| 60 | default "j721s2" |
| 61 | |
David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 62 | source "board/ti/common/Kconfig" |
| 63 | |
| 64 | endif |