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