1if ARCH_IMX8
2
3config AHAB_BOOT
4	bool "Support i.MX8 AHAB features"
5	imply CMD_DEKBLOB
6	help
7	  This option enables the support for AHAB secure boot.
8
9config IMX8
10	bool
11
12config MU_BASE_SPL
13	hex "MU base address used in SPL"
14	default 0x5d1b0000
15	help
16	  SPL runs in EL3 mode, it use MU0_A to communicate with SCU.
17	  So we could not reuse the one in dts which is for normal U-Boot.
18
19config IMX8QM
20	select IMX8
21	select SUPPORT_SPL
22	select SPL_RECOVER_DATA_SECTION
23	bool
24
25config IMX8QXP
26	select IMX8
27	select SUPPORT_SPL
28	select SPL_RECOVER_DATA_SECTION
29	bool
30
31config SYS_SOC
32	default "imx8"
33
34config BOOTAUX_RESERVED_MEM_BASE
35	hex "i.MX auxiliary core dram memory base"
36	default 0
37
38config BOOTAUX_RESERVED_MEM_SIZE
39	hex "i.MX auxiliary core dram memory size"
40	default 0
41
42choice
43	prompt "i.MX8 board select"
44	optional
45
46config TARGET_APALIS_IMX8
47	bool "Support Apalis iMX8 module"
48	select BOARD_LATE_INIT
49	select IMX8QM
50
51config TARGET_COLIBRI_IMX8X
52	bool "Support Colibri iMX8X module"
53	select BOARD_LATE_INIT
54	select IMX8QXP
55
56config TARGET_APALIS_IMX8X
57	bool "Support Apalis iMX8X module"
58	select BOARD_LATE_INIT
59	select IMX8QXP
60
61config TARGET_DENEB
62	bool "Support i.MX8QXP Capricorn Deneb board"
63	select BOARD_LATE_INIT
64	select IMX8QXP
65
66config TARGET_GIEDI
67	bool "Support i.MX8QXP Capricorn Giedi board"
68	select BOARD_LATE_INIT
69	select IMX8QXP
70
71config TARGET_IMX8QM_MEK
72	bool "Support i.MX8QM MEK board"
73	select BOARD_LATE_INIT
74	select IMX8QM
75
76config TARGET_CONGA_QMX8
77	bool "Support congatec conga-QMX8 board"
78	select BOARD_LATE_INIT
79	select SUPPORT_SPL
80	select IMX8QM
81
82config TARGET_IMX8QM_ROM7720_A1
83	bool "Support i.MX8QM ROM-7720-A1"
84	select BOARD_LATE_INIT
85	select SUPPORT_SPL
86	select IMX8QM
87
88config TARGET_IMX8QXP_MEK
89	bool "Support i.MX8QXP MEK board"
90	select BOARD_LATE_INIT
91	select IMX8QXP
92
93endchoice
94
95source "board/freescale/imx8qm_mek/Kconfig"
96source "board/freescale/imx8qxp_mek/Kconfig"
97source "board/congatec/cgtqmx8/Kconfig"
98source "board/advantech/imx8qm_rom7720_a1/Kconfig"
99source "board/toradex/apalis-imx8/Kconfig"
100source "board/toradex/colibri-imx8x/Kconfig"
101source "board/toradex/apalis-imx8x/Kconfig"
102source "board/siemens/capricorn/Kconfig"
103
104config IMX_SNVS_SEC_SC
105	bool "Support SNVS configuration"
106	help
107	  Allow to configure the SNVS via SCU API to configure tampers and secure
108	  violation.
109
110config IMX_SNVS_SEC_SC_AUTO
111	bool "Support SNVS configuration command"
112	depends on IMX_SNVS_SEC_SC
113	help
114	  This configuration will apply the selected configurations automatically
115	  at boot.
116
117endif
118