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 |
Neha Malcom Francis | 106589a | 2023-07-22 00:14:36 +0530 | [diff] [blame] | 16 | select BINMAN |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 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 |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 22 | select K3_LOAD_SYSFW |
| 23 | select RAM |
| 24 | select SPL_RAM |
| 25 | select K3_DDRSS |
Neha Malcom Francis | 106589a | 2023-07-22 00:14:36 +0530 | [diff] [blame] | 26 | select BINMAN |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 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 | |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 43 | config ENV_SOURCE_FILE |
| 44 | default "j721s2" |
| 45 | |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 46 | source "board/ti/common/Kconfig" |
| 47 | |
| 48 | endif |
| 49 | |
| 50 | if TARGET_J721S2_R5_EVM |
| 51 | |
| 52 | config SYS_BOARD |
| 53 | default "j721s2" |
| 54 | |
| 55 | config SYS_VENDOR |
| 56 | default "ti" |
| 57 | |
| 58 | config SYS_CONFIG_NAME |
| 59 | default "j721s2_evm" |
| 60 | |
Neha Malcom Francis | 7e55dd2 | 2023-03-15 10:57:44 +0530 | [diff] [blame] | 61 | config ENV_SOURCE_FILE |
| 62 | default "j721s2" |
| 63 | |
David Huang | 5d9fadf | 2022-01-25 20:56:37 +0530 | [diff] [blame] | 64 | source "board/ti/common/Kconfig" |
| 65 | |
| 66 | endif |