blob: 71221d8d06cc26c9c2e9cde065bbb7bff8cce79e [file] [log] [blame]
Peng Fan6bae1c72018-10-18 14:28:08 +02001if ARCH_IMX8
2
Peng Fanf1e0f9f2019-09-25 08:11:14 +00003config AHAB_BOOT
4 bool "Support i.MX8 AHAB features"
Clement Faure9cb2f972021-03-25 17:30:34 +08005 imply CMD_DEKBLOB
Peng Fanf1e0f9f2019-09-25 08:11:14 +00006 help
7 This option enables the support for AHAB secure boot.
8
Peng Fan6bae1c72018-10-18 14:28:08 +02009config IMX8
10 bool
11
Peng Fane6b2c2b2018-12-21 06:21:15 +000012config 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
Peng Fancb9ce012019-03-05 02:32:28 +000019config IMX8QM
20 select IMX8
21 select SUPPORT_SPL
Peng Fan617fc292020-05-05 20:28:41 +080022 select SPL_RECOVER_DATA_SECTION
Peng Fancb9ce012019-03-05 02:32:28 +000023 bool
24
Peng Fan6bae1c72018-10-18 14:28:08 +020025config IMX8QXP
26 select IMX8
Peng Fan1df287c2018-12-21 06:21:13 +000027 select SUPPORT_SPL
Peng Fan617fc292020-05-05 20:28:41 +080028 select SPL_RECOVER_DATA_SECTION
Peng Fan6bae1c72018-10-18 14:28:08 +020029 bool
30
31config SYS_SOC
32 default "imx8"
33
Peng Fan1a7e6252019-08-22 07:42:33 +000034config SPL_LOAD_IMX_CONTAINER
35 bool "Enable SPL loading U-Boot as a i.MX Container image"
36 depends on SPL
37 help
38 This is to let SPL could load i.MX8 Container image
39
Peng Fanbe3e5832019-08-22 07:42:41 +000040config IMX_CONTAINER_CFG
41 string "i.MX Container config file"
42 depends on SPL
43 help
44 This is to specific the cfg file for generating container
45 image which will be loaded by SPL.
46
Peng Fanae617972020-05-05 20:28:37 +080047config BOOTAUX_RESERVED_MEM_BASE
48 hex "i.MX auxiliary core dram memory base"
49 default 0
50
51config BOOTAUX_RESERVED_MEM_SIZE
52 hex "i.MX auxiliary core dram memory size"
53 default 0
54
Peng Fan702c6dc2018-10-18 14:28:37 +020055choice
56 prompt "i.MX8 board select"
57 optional
58
Marcel Ziswiler475ceff2019-05-31 19:00:20 +030059config TARGET_APALIS_IMX8
60 bool "Support Apalis iMX8 module"
61 select BOARD_LATE_INIT
62 select IMX8QM
63
Marcel Ziswiler99d768b2019-05-31 18:56:39 +030064config TARGET_COLIBRI_IMX8X
65 bool "Support Colibri iMX8X module"
Peng Fan702c6dc2018-10-18 14:28:37 +020066 select BOARD_LATE_INIT
67 select IMX8QXP
68
Igor Opaniukc87397f2020-10-22 11:21:38 +030069config TARGET_APALIS_IMX8X
70 bool "Support Apalis iMX8X module"
71 select BOARD_LATE_INIT
72 select IMX8QXP
73
Anatolij Gustschin79ca9472020-01-07 16:37:43 +010074config TARGET_DENEB
75 bool "Support i.MX8QXP Capricorn Deneb board"
76 select BOARD_LATE_INIT
77 select IMX8QXP
78
Anatolij Gustschin49234a32020-01-07 16:37:42 +010079config TARGET_GIEDI
80 bool "Support i.MX8QXP Capricorn Giedi board"
81 select BOARD_LATE_INIT
82 select IMX8QXP
83
Peng Fan203a2272019-03-05 02:32:49 +000084config TARGET_IMX8QM_MEK
85 bool "Support i.MX8QM MEK board"
86 select BOARD_LATE_INIT
87 select IMX8QM
88
Oliver Grauteaf5e29b2021-05-31 15:50:40 +020089config TARGET_CONGA_QMX8
90 bool "Support congatec conga-QMX8 board"
91 select BOARD_LATE_INIT
92 select SUPPORT_SPL
93 select IMX8QM
94
Oliver Grautedafcd992019-09-20 07:08:41 +000095config TARGET_IMX8QM_ROM7720_A1
96 bool "Support i.MX8QM ROM-7720-A1"
97 select BOARD_LATE_INIT
98 select SUPPORT_SPL
99 select IMX8QM
100
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300101config TARGET_IMX8QXP_MEK
102 bool "Support i.MX8QXP MEK board"
103 select BOARD_LATE_INIT
104 select IMX8QXP
105
Peng Fan702c6dc2018-10-18 14:28:37 +0200106endchoice
107
Peng Fan203a2272019-03-05 02:32:49 +0000108source "board/freescale/imx8qm_mek/Kconfig"
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300109source "board/freescale/imx8qxp_mek/Kconfig"
Oliver Grauteaf5e29b2021-05-31 15:50:40 +0200110source "board/congatec/cgtqmx8/Kconfig"
Oliver Grautedafcd992019-09-20 07:08:41 +0000111source "board/advantech/imx8qm_rom7720_a1/Kconfig"
Marcel Ziswiler475ceff2019-05-31 19:00:20 +0300112source "board/toradex/apalis-imx8/Kconfig"
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300113source "board/toradex/colibri-imx8x/Kconfig"
Igor Opaniukc87397f2020-10-22 11:21:38 +0300114source "board/toradex/apalis-imx8x/Kconfig"
Anatolij Gustschin49234a32020-01-07 16:37:42 +0100115source "board/siemens/capricorn/Kconfig"
Peng Fan702c6dc2018-10-18 14:28:37 +0200116
Franck LENORMANDd3b70ea2019-10-09 10:27:43 +0200117config IMX_SNVS_SEC_SC
118 bool "Support SNVS configuration"
119 help
120 Allow to configure the SNVS via SCU API to configure tampers and secure
121 violation.
122
123config IMX_SNVS_SEC_SC_AUTO
124 bool "Support SNVS configuration command"
125 depends on IMX_SNVS_SEC_SC
126 help
127 This configuration will apply the selected configurations automatically
128 at boot.
129
Peng Fan6bae1c72018-10-18 14:28:08 +0200130endif