blob: 59d11b3179efdf4b2e8455e3e11671acab3d6b8a [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
Gaurav Jaindb4dd6a2022-03-24 11:50:33 +053011 select HAS_CAAM
Peng Fan6bae1c72018-10-18 14:28:08 +020012
Peng Fane6b2c2b2018-12-21 06:21:15 +000013config 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
Peng Fancb9ce012019-03-05 02:32:28 +000020config IMX8QM
21 select IMX8
22 select SUPPORT_SPL
Tom Rini0a83cc22022-06-10 23:03:09 -040023 select SPL_RECOVER_DATA_SECTION if SPL
Peng Fancb9ce012019-03-05 02:32:28 +000024 bool
25
Peng Fan6bae1c72018-10-18 14:28:08 +020026config IMX8QXP
27 select IMX8
Peng Fan1df287c2018-12-21 06:21:13 +000028 select SUPPORT_SPL
Tom Rini0a83cc22022-06-10 23:03:09 -040029 select SPL_RECOVER_DATA_SECTION if SPL
Peng Fan6bae1c72018-10-18 14:28:08 +020030 bool
31
32config SYS_SOC
33 default "imx8"
34
Peng Fanae617972020-05-05 20:28:37 +080035config BOOTAUX_RESERVED_MEM_BASE
36 hex "i.MX auxiliary core dram memory base"
Tom Rinif18679c2023-08-02 11:09:43 -040037 default 0x0
Peng Fanae617972020-05-05 20:28:37 +080038
39config BOOTAUX_RESERVED_MEM_SIZE
40 hex "i.MX auxiliary core dram memory size"
Tom Rinif18679c2023-08-02 11:09:43 -040041 default 0x0
Peng Fanae617972020-05-05 20:28:37 +080042
Peng Fan702c6dc2018-10-18 14:28:37 +020043choice
44 prompt "i.MX8 board select"
45 optional
46
Marcel Ziswiler475ceff2019-05-31 19:00:20 +030047config TARGET_APALIS_IMX8
48 bool "Support Apalis iMX8 module"
49 select BOARD_LATE_INIT
50 select IMX8QM
51
Marcel Ziswiler99d768b2019-05-31 18:56:39 +030052config TARGET_COLIBRI_IMX8X
53 bool "Support Colibri iMX8X module"
Peng Fan702c6dc2018-10-18 14:28:37 +020054 select BOARD_LATE_INIT
55 select IMX8QXP
56
Anatolij Gustschin79ca9472020-01-07 16:37:43 +010057config TARGET_DENEB
58 bool "Support i.MX8QXP Capricorn Deneb board"
Oliver Grautec192afb2022-11-04 16:03:42 +010059 select BINMAN
Anatolij Gustschin79ca9472020-01-07 16:37:43 +010060 select BOARD_LATE_INIT
Tom Rini29e05952022-06-10 22:59:35 -040061 select FACTORYSET
Anatolij Gustschin79ca9472020-01-07 16:37:43 +010062 select IMX8QXP
63
Anatolij Gustschin49234a32020-01-07 16:37:42 +010064config TARGET_GIEDI
65 bool "Support i.MX8QXP Capricorn Giedi board"
Oliver Grauteeeddb282022-11-04 16:03:41 +010066 select BINMAN
Anatolij Gustschin49234a32020-01-07 16:37:42 +010067 select BOARD_LATE_INIT
Tom Rini29e05952022-06-10 22:59:35 -040068 select FACTORYSET
Anatolij Gustschin49234a32020-01-07 16:37:42 +010069 select IMX8QXP
70
Peng Fan203a2272019-03-05 02:32:49 +000071config TARGET_IMX8QM_MEK
72 bool "Support i.MX8QM MEK board"
Oliver Graute6ccf8502022-11-04 16:03:40 +010073 select BINMAN
Peng Fan203a2272019-03-05 02:32:49 +000074 select BOARD_LATE_INIT
75 select IMX8QM
Gaurav Jaindb4dd6a2022-03-24 11:50:33 +053076 select FSL_CAAM
77 select ARCH_MISC_INIT
78 select SPL_CRYPTO if SPL
Peng Fan203a2272019-03-05 02:32:49 +000079
Oliver Grauteaf5e29b2021-05-31 15:50:40 +020080config TARGET_CONGA_QMX8
81 bool "Support congatec conga-QMX8 board"
Oliver Graute51039ce2022-11-04 16:03:38 +010082 select BINMAN
Oliver Grauteaf5e29b2021-05-31 15:50:40 +020083 select BOARD_LATE_INIT
84 select SUPPORT_SPL
85 select IMX8QM
86
Oliver Grautedafcd992019-09-20 07:08:41 +000087config TARGET_IMX8QM_ROM7720_A1
88 bool "Support i.MX8QM ROM-7720-A1"
Oliver Graute3e0bf762022-11-04 16:03:37 +010089 select BINMAN
Oliver Grautedafcd992019-09-20 07:08:41 +000090 select BOARD_LATE_INIT
91 select SUPPORT_SPL
92 select IMX8QM
93
Oliver Grauteabf0e7b2023-04-21 12:11:50 +020094config 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
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300101config TARGET_IMX8QXP_MEK
102 bool "Support i.MX8QXP MEK board"
Oliver Grauted5efa3c2022-11-04 16:03:39 +0100103 select BINMAN
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300104 select BOARD_LATE_INIT
105 select IMX8QXP
Gaurav Jaindb4dd6a2022-03-24 11:50:33 +0530106 select FSL_CAAM
107 select ARCH_MISC_INIT
108 select SPL_CRYPTO if SPL
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300109
Peng Fan702c6dc2018-10-18 14:28:37 +0200110endchoice
111
Peng Fan203a2272019-03-05 02:32:49 +0000112source "board/freescale/imx8qm_mek/Kconfig"
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300113source "board/freescale/imx8qxp_mek/Kconfig"
Oliver Grauteaf5e29b2021-05-31 15:50:40 +0200114source "board/congatec/cgtqmx8/Kconfig"
Oliver Grauteabf0e7b2023-04-21 12:11:50 +0200115source "board/advantech/imx8qm_dmsse20_a1/Kconfig"
Oliver Grautedafcd992019-09-20 07:08:41 +0000116source "board/advantech/imx8qm_rom7720_a1/Kconfig"
Marcel Ziswiler475ceff2019-05-31 19:00:20 +0300117source "board/toradex/apalis-imx8/Kconfig"
Marcel Ziswiler99d768b2019-05-31 18:56:39 +0300118source "board/toradex/colibri-imx8x/Kconfig"
Anatolij Gustschin49234a32020-01-07 16:37:42 +0100119source "board/siemens/capricorn/Kconfig"
Peng Fan702c6dc2018-10-18 14:28:37 +0200120
Franck LENORMANDd3b70ea2019-10-09 10:27:43 +0200121config 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
127config 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
Peng Fan6bae1c72018-10-18 14:28:08 +0200134endif