Merge tag 'u-boot-atmel-fixes-2020.07-a' of https://gitlab.denx.de/u-boot/custodians...
[oweals/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_DENEB
69         bool "Support i.MX8QXP Capricorn Deneb board"
70         select BOARD_LATE_INIT
71         select IMX8QXP
72
73 config TARGET_GIEDI
74         bool "Support i.MX8QXP Capricorn Giedi board"
75         select BOARD_LATE_INIT
76         select IMX8QXP
77
78 config TARGET_IMX8QM_MEK
79         bool "Support i.MX8QM MEK board"
80         select BOARD_LATE_INIT
81         select IMX8QM
82
83 config TARGET_IMX8QM_ROM7720_A1
84         bool "Support i.MX8QM ROM-7720-A1"
85         select BOARD_LATE_INIT
86         select SUPPORT_SPL
87         select IMX8QM
88
89 config TARGET_IMX8QXP_MEK
90         bool "Support i.MX8QXP MEK board"
91         select BOARD_LATE_INIT
92         select IMX8QXP
93
94 endchoice
95
96 source "board/freescale/imx8qm_mek/Kconfig"
97 source "board/freescale/imx8qxp_mek/Kconfig"
98 source "board/advantech/imx8qm_rom7720_a1/Kconfig"
99 source "board/toradex/apalis-imx8/Kconfig"
100 source "board/toradex/colibri-imx8x/Kconfig"
101 source "board/siemens/capricorn/Kconfig"
102
103 config IMX_SNVS_SEC_SC
104         bool "Support SNVS configuration"
105         help
106           Allow to configure the SNVS via SCU API to configure tampers and secure
107           violation.
108
109 config IMX_SNVS_SEC_SC_AUTO
110         bool "Support SNVS configuration command"
111         depends on IMX_SNVS_SEC_SC
112         help
113           This configuration will apply the selected configurations automatically
114           at boot.
115
116 endif