blob: f6d1cb5765368ac517eecfc824e65cffd36de5ad [file] [log] [blame]
David Huang5d9fadf2022-01-25 20:56:37 +05301# 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
6choice
7 prompt "K3 J721S2 board"
8 optional
9
10config TARGET_J721S2_A72_EVM
11 bool "TI K3 based J721S2 EVM running on A72"
12 select ARM64
David Huang5d9fadf2022-01-25 20:56:37 +053013 select BOARD_LATE_INIT
14 imply TI_I2C_BOARD_DETECT
15 select SYS_DISABLE_DCACHE_OPS
Neha Malcom Francis106589a2023-07-22 00:14:36 +053016 select BINMAN
David Huang5d9fadf2022-01-25 20:56:37 +053017
18config TARGET_J721S2_R5_EVM
19 bool "TI K3 based J721S2 EVM running on R5"
20 select CPU_V7R
21 select SYS_THUMB_BUILD
David Huang5d9fadf2022-01-25 20:56:37 +053022 select K3_LOAD_SYSFW
23 select RAM
24 select SPL_RAM
25 select K3_DDRSS
Neha Malcom Francis106589a2023-07-22 00:14:36 +053026 select BINMAN
David Huang5d9fadf2022-01-25 20:56:37 +053027 imply SYS_K3_SPL_ATF
28 imply TI_I2C_BOARD_DETECT
29
30endchoice
31
32if TARGET_J721S2_A72_EVM
33
34config SYS_BOARD
35 default "j721s2"
36
37config SYS_VENDOR
38 default "ti"
39
40config SYS_CONFIG_NAME
41 default "j721s2_evm"
42
Neha Malcom Francis7e55dd22023-03-15 10:57:44 +053043config ENV_SOURCE_FILE
44 default "j721s2"
45
David Huang5d9fadf2022-01-25 20:56:37 +053046source "board/ti/common/Kconfig"
47
48endif
49
50if TARGET_J721S2_R5_EVM
51
52config SYS_BOARD
53 default "j721s2"
54
55config SYS_VENDOR
56 default "ti"
57
58config SYS_CONFIG_NAME
59 default "j721s2_evm"
60
Neha Malcom Francis7e55dd22023-03-15 10:57:44 +053061config ENV_SOURCE_FILE
62 default "j721s2"
63
David Huang5d9fadf2022-01-25 20:56:37 +053064source "board/ti/common/Kconfig"
65
66endif