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