blob: abc2984f25038cebc3015b8849178a42223e288d [file] [log] [blame]
Marcel Ziswiler315deb32023-08-04 12:08:08 +02001# SPDX-License-Identifier: GPL-2.0-or-later
2#
3# Copyright 2023 Toradex
4#
5
6choice
7 prompt "Toradex Verdin AM62 based boards"
Andrew Davise56bf292023-11-01 15:35:24 -05008 depends on SOC_K3_AM625
Marcel Ziswiler315deb32023-08-04 12:08:08 +02009 optional
10
11config TARGET_VERDIN_AM62_A53
12 bool "Toradex Verdin AM62 running on A53"
13 select ARM64
14 select BINMAN
15
16config TARGET_VERDIN_AM62_R5
17 bool "Toradex Verdin AM62 running on R5"
18 select CPU_V7R
19 select SYS_THUMB_BUILD
20 select K3_LOAD_SYSFW
21 select RAM
22 select SPL_RAM
23 select K3_DDRSS
24 select BINMAN
25 imply SYS_K3_SPL_ATF
26
27endchoice
28
29if TARGET_VERDIN_AM62_A53
30
31config SYS_BOARD
32 default "verdin-am62"
33
34config SYS_CONFIG_NAME
35 default "verdin-am62"
36
37config SYS_VENDOR
38 default "toradex"
39
40config TDX_CFG_BLOCK
41 default y
42
43config TDX_CFG_BLOCK_2ND_ETHADDR
44 default y
45
46config TDX_CFG_BLOCK_DEV
47 default "0"
48
49config TDX_CFG_BLOCK_EXTRA
50 default y
51
52# Toradex config block in eMMC, at the end of 1st "boot sector"
53config TDX_CFG_BLOCK_OFFSET
54 default "-512"
55
56config TDX_CFG_BLOCK_PART
57 default "1"
58
59config TDX_HAVE_EEPROM_EXTRA
60 default y
61
62config TDX_HAVE_MMC
63 default y
64
65source "board/toradex/common/Kconfig"
66
67endif
68
69if TARGET_VERDIN_AM62_R5
70
71config SPL_LDSCRIPT
72 default "arch/arm/mach-omap2/u-boot-spl.lds"
73
74config SYS_BOARD
75 default "verdin-am62"
76
77config SYS_CONFIG_NAME
78 default "verdin-am62"
79
80config SYS_VENDOR
81 default "toradex"
82
83endif