David Huang | 5d9fadf | 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 | 5d9fadf | 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 | 5d9fadf | 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 | |
| 41 | source "board/ti/common/Kconfig" |
| 42 | |
| 43 | endif |
| 44 | |
| 45 | if TARGET_J721S2_R5_EVM |
| 46 | |
| 47 | config SYS_BOARD |
| 48 | default "j721s2" |
| 49 | |
| 50 | config SYS_VENDOR |
| 51 | default "ti" |
| 52 | |
| 53 | config SYS_CONFIG_NAME |
| 54 | default "j721s2_evm" |
| 55 | |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 56 | source "board/ti/common/Kconfig" |
| 57 | |
| 58 | endif |