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 |
| 13 | select SOC_K3_J721S2 |
| 14 | select BOARD_LATE_INIT |
| 15 | imply TI_I2C_BOARD_DETECT |
| 16 | select SYS_DISABLE_DCACHE_OPS |
| 17 | |
| 18 | config TARGET_J721S2_R5_EVM |
| 19 | bool "TI K3 based J721S2 EVM running on R5" |
| 20 | select CPU_V7R |
| 21 | select SYS_THUMB_BUILD |
| 22 | select SOC_K3_J721S2 |
| 23 | select K3_LOAD_SYSFW |
| 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_J721S2_A72_EVM |
| 33 | |
| 34 | config SYS_BOARD |
| 35 | default "j721s2" |
| 36 | |
| 37 | config SYS_VENDOR |
| 38 | default "ti" |
| 39 | |
| 40 | config SYS_CONFIG_NAME |
| 41 | default "j721s2_evm" |
| 42 | |
| 43 | source "board/ti/common/Kconfig" |
| 44 | |
| 45 | endif |
| 46 | |
| 47 | if TARGET_J721S2_R5_EVM |
| 48 | |
| 49 | config SYS_BOARD |
| 50 | default "j721s2" |
| 51 | |
| 52 | config SYS_VENDOR |
| 53 | default "ti" |
| 54 | |
| 55 | config SYS_CONFIG_NAME |
| 56 | default "j721s2_evm" |
| 57 | |
David Huang | d09f5fe | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 58 | source "board/ti/common/Kconfig" |
| 59 | |
| 60 | endif |