summaryrefslogtreecommitdiff
path: root/board/toradex/aquila-am69/Kconfig
blob: 87597e191f10722cd8542e3f613fa88fbf0e153b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# SPDX-License-Identifier: GPL-2.0-only
#
# Copyright 2024 Toradex
#

choice
	prompt "Toradex Aquila AM69 based boards"
	optional

config TARGET_AQUILA_AM69_A72
	bool "Toradex Aquila AM69 running on A72"
	select ARM64
	select SOC_K3_J784S4
	select SYS_DISABLE_DCACHE_OPS
	select BINMAN

config TARGET_AQUILA_AM69_R5
	bool "Toradex Aquila AM69 running on R5"
	select CPU_V7R
	select SYS_THUMB_BUILD
	select SOC_K3_J784S4
	select K3_LOAD_SYSFW
	select RAM
	select SPL_RAM
	select K3_DDRSS
	select BINMAN
	imply SYS_K3_SPL_ATF

endchoice

if TARGET_AQUILA_AM69_A72

config SYS_BOARD
       default "aquila-am69"

config SYS_VENDOR
       default "toradex"

config SYS_CONFIG_NAME
       default "aquila-am69"

config TDX_CFG_BLOCK
	default y

config TDX_CFG_BLOCK_2ND_ETHADDR
	default y

config TDX_CFG_BLOCK_DEV
	default "0"

config TDX_CFG_BLOCK_EXTRA
	default y

config TDX_CFG_BLOCK_OFFSET
	default "-512"

config TDX_CFG_BLOCK_PART
	default "1"

config TDX_HAVE_EEPROM_EXTRA
	default y

config TDX_HAVE_MMC
	default y

source "board/toradex/common/Kconfig"

endif

if TARGET_AQUILA_AM69_R5

config SYS_BOARD
       default "aquila-am69"

config SYS_VENDOR
       default "toradex"

config SYS_CONFIG_NAME
       default "aquila-am69"

config SPL_LDSCRIPT
	default "arch/arm/mach-omap2/u-boot-spl.lds"

endif