Merge tag 'u-boot-atmel-fixes-2021.01-b' of https://gitlab.denx.de/u-boot/custodians...
[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         help
6           This option enables the support for AHAB secure boot.
7
8 config IMX8
9         bool
10
11 config 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
18 config IMX8QM
19         select IMX8
20         select SUPPORT_SPL
21         select SPL_RECOVER_DATA_SECTION
22         bool
23
24 config IMX8QXP
25         select IMX8
26         select SUPPORT_SPL
27         select SPL_RECOVER_DATA_SECTION
28         bool
29
30 config SYS_SOC
31         default "imx8"
32
33 config 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
39 config 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
46 config BOOTAUX_RESERVED_MEM_BASE
47         hex "i.MX auxiliary core dram memory base"
48         default 0
49
50 config BOOTAUX_RESERVED_MEM_SIZE
51         hex "i.MX auxiliary core dram memory size"
52         default 0
53
54 choice
55         prompt "i.MX8 board select"
56         optional
57
58 config TARGET_APALIS_IMX8
59         bool "Support Apalis iMX8 module"
60         select BOARD_LATE_INIT
61         select IMX8QM
62
63 config TARGET_COLIBRI_IMX8X
64         bool "Support Colibri iMX8X module"
65         select BOARD_LATE_INIT
66         select IMX8QXP
67
68 config TARGET_APALIS_IMX8X
69         bool "Support Apalis iMX8X module"
70         select BOARD_LATE_INIT
71         select IMX8QXP
72
73 config TARGET_DENEB
74         bool "Support i.MX8QXP Capricorn Deneb board"
75         select BOARD_LATE_INIT
76         select IMX8QXP
77
78 config TARGET_GIEDI
79         bool "Support i.MX8QXP Capricorn Giedi board"
80         select BOARD_LATE_INIT
81         select IMX8QXP
82
83 config TARGET_IMX8QM_MEK
84         bool "Support i.MX8QM MEK board"
85         select BOARD_LATE_INIT
86         select IMX8QM
87
88 config 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
94 config TARGET_IMX8QXP_MEK
95         bool "Support i.MX8QXP MEK board"
96         select BOARD_LATE_INIT
97         select IMX8QXP
98
99 endchoice
100
101 source "board/freescale/imx8qm_mek/Kconfig"
102 source "board/freescale/imx8qxp_mek/Kconfig"
103 source "board/advantech/imx8qm_rom7720_a1/Kconfig"
104 source "board/toradex/apalis-imx8/Kconfig"
105 source "board/toradex/colibri-imx8x/Kconfig"
106 source "board/toradex/apalis-imx8x/Kconfig"
107 source "board/siemens/capricorn/Kconfig"
108
109 config 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
115 config 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
122 endif