blob: e7522244070b8dfe16a230ea7462d712600b0019 [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"
8 optional
9
10config TARGET_VERDIN_AM62_A53
11 bool "Toradex Verdin AM62 running on A53"
12 select ARM64
13 select BINMAN
14
15config TARGET_VERDIN_AM62_R5
16 bool "Toradex Verdin AM62 running on R5"
17 select CPU_V7R
18 select SYS_THUMB_BUILD
19 select K3_LOAD_SYSFW
20 select RAM
21 select SPL_RAM
22 select K3_DDRSS
23 select BINMAN
24 imply SYS_K3_SPL_ATF
25
26endchoice
27
28if TARGET_VERDIN_AM62_A53
29
30config SYS_BOARD
31 default "verdin-am62"
32
33config SYS_CONFIG_NAME
34 default "verdin-am62"
35
36config SYS_VENDOR
37 default "toradex"
38
39config TDX_CFG_BLOCK
40 default y
41
42config TDX_CFG_BLOCK_2ND_ETHADDR
43 default y
44
45config TDX_CFG_BLOCK_DEV
46 default "0"
47
48config TDX_CFG_BLOCK_EXTRA
49 default y
50
51# Toradex config block in eMMC, at the end of 1st "boot sector"
52config TDX_CFG_BLOCK_OFFSET
53 default "-512"
54
55config TDX_CFG_BLOCK_PART
56 default "1"
57
58config TDX_HAVE_EEPROM_EXTRA
59 default y
60
61config TDX_HAVE_MMC
62 default y
63
64source "board/toradex/common/Kconfig"
65
66endif
67
68if TARGET_VERDIN_AM62_R5
69
70config SPL_LDSCRIPT
71 default "arch/arm/mach-omap2/u-boot-spl.lds"
72
73config SYS_BOARD
74 default "verdin-am62"
75
76config SYS_CONFIG_NAME
77 default "verdin-am62"
78
79config SYS_VENDOR
80 default "toradex"
81
82endif