blob: 37d12d18958668aece38c8c0d488dc48ae26704a [file] [log] [blame]
Peng Fanb2b8b9b2018-10-18 14:28:08 +02001if ARCH_IMX8
2
Peng Fan7e2db742019-09-25 08:11:14 +00003config AHAB_BOOT
4 bool "Support i.MX8 AHAB features"
Clement Faure69f542c2021-03-25 17:30:34 +08005 imply CMD_DEKBLOB
Peng Fan7e2db742019-09-25 08:11:14 +00006 help
7 This option enables the support for AHAB secure boot.
8
Peng Fanb2b8b9b2018-10-18 14:28:08 +02009config IMX8
10 bool
Gaurav Jaincb5d0412022-03-24 11:50:33 +053011 select HAS_CAAM
Peng Fanb2b8b9b2018-10-18 14:28:08 +020012
Peng Fan04b24962018-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 Fan7f50af62019-03-05 02:32:28 +000020config IMX8QM
21 select IMX8
22 select SUPPORT_SPL
Tom Rinib3401992022-06-10 23:03:09 -040023 select SPL_RECOVER_DATA_SECTION if SPL
Peng Fan7f50af62019-03-05 02:32:28 +000024 bool
25
Peng Fanb2b8b9b2018-10-18 14:28:08 +020026config IMX8QXP
27 select IMX8
Peng Fan3bd888b2018-12-21 06:21:13 +000028 select SUPPORT_SPL
Tom Rinib3401992022-06-10 23:03:09 -040029 select SPL_RECOVER_DATA_SECTION if SPL
Peng Fanb2b8b9b2018-10-18 14:28:08 +020030 bool
31
32config SYS_SOC
33 default "imx8"
34
Peng Fanf44afd52020-05-05 20:28:37 +080035config BOOTAUX_RESERVED_MEM_BASE
36 hex "i.MX auxiliary core dram memory base"
37 default 0
38
39config BOOTAUX_RESERVED_MEM_SIZE
40 hex "i.MX auxiliary core dram memory size"
41 default 0
42
Peng Fand0dd7392018-10-18 14:28:37 +020043choice
44 prompt "i.MX8 board select"
45 optional
46
Marcel Ziswiler3d603662019-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 Ziswiler7ce134b72019-05-31 18:56:39 +030052config TARGET_COLIBRI_IMX8X
53 bool "Support Colibri iMX8X module"
Oliver Grautebdadc142022-11-04 16:03:43 +010054 select BINMAN
Peng Fand0dd7392018-10-18 14:28:37 +020055 select BOARD_LATE_INIT
56 select IMX8QXP
57
Anatolij Gustschineb79caf2020-01-07 16:37:43 +010058config TARGET_DENEB
59 bool "Support i.MX8QXP Capricorn Deneb board"
Oliver Grautebc1d1452022-11-04 16:03:42 +010060 select BINMAN
Anatolij Gustschineb79caf2020-01-07 16:37:43 +010061 select BOARD_LATE_INIT
Tom Rini3a21d452022-06-10 22:59:35 -040062 select FACTORYSET
Anatolij Gustschineb79caf2020-01-07 16:37:43 +010063 select IMX8QXP
64
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +010065config TARGET_GIEDI
66 bool "Support i.MX8QXP Capricorn Giedi board"
Oliver Grautedcbc4ae2022-11-04 16:03:41 +010067 select BINMAN
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +010068 select BOARD_LATE_INIT
Tom Rini3a21d452022-06-10 22:59:35 -040069 select FACTORYSET
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +010070 select IMX8QXP
71
Peng Fan0d331c02019-03-05 02:32:49 +000072config TARGET_IMX8QM_MEK
73 bool "Support i.MX8QM MEK board"
Oliver Graute4aa73882022-11-04 16:03:40 +010074 select BINMAN
Peng Fan0d331c02019-03-05 02:32:49 +000075 select BOARD_LATE_INIT
76 select IMX8QM
Gaurav Jaincb5d0412022-03-24 11:50:33 +053077 select FSL_CAAM
78 select ARCH_MISC_INIT
79 select SPL_CRYPTO if SPL
Peng Fan0d331c02019-03-05 02:32:49 +000080
Oliver Grautefe133eb2021-05-31 15:50:40 +020081config TARGET_CONGA_QMX8
82 bool "Support congatec conga-QMX8 board"
Oliver Graute5a878c92022-11-04 16:03:38 +010083 select BINMAN
Oliver Grautefe133eb2021-05-31 15:50:40 +020084 select BOARD_LATE_INIT
85 select SUPPORT_SPL
86 select IMX8QM
87
Oliver Grauteeef72442019-09-20 07:08:41 +000088config TARGET_IMX8QM_ROM7720_A1
89 bool "Support i.MX8QM ROM-7720-A1"
Oliver Graute55be8432022-11-04 16:03:37 +010090 select BINMAN
Oliver Grauteeef72442019-09-20 07:08:41 +000091 select BOARD_LATE_INIT
92 select SUPPORT_SPL
93 select IMX8QM
94
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +030095config TARGET_IMX8QXP_MEK
96 bool "Support i.MX8QXP MEK board"
Oliver Graute61c57b62022-11-04 16:03:39 +010097 select BINMAN
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +030098 select BOARD_LATE_INIT
99 select IMX8QXP
Gaurav Jaincb5d0412022-03-24 11:50:33 +0530100 select FSL_CAAM
101 select ARCH_MISC_INIT
102 select SPL_CRYPTO if SPL
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +0300103
Peng Fand0dd7392018-10-18 14:28:37 +0200104endchoice
105
Peng Fan0d331c02019-03-05 02:32:49 +0000106source "board/freescale/imx8qm_mek/Kconfig"
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +0300107source "board/freescale/imx8qxp_mek/Kconfig"
Oliver Grautefe133eb2021-05-31 15:50:40 +0200108source "board/congatec/cgtqmx8/Kconfig"
Oliver Grauteeef72442019-09-20 07:08:41 +0000109source "board/advantech/imx8qm_rom7720_a1/Kconfig"
Marcel Ziswiler3d603662019-05-31 19:00:20 +0300110source "board/toradex/apalis-imx8/Kconfig"
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +0300111source "board/toradex/colibri-imx8x/Kconfig"
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +0100112source "board/siemens/capricorn/Kconfig"
Peng Fand0dd7392018-10-18 14:28:37 +0200113
Franck LENORMAND242d1cd2019-10-09 10:27:43 +0200114config IMX_SNVS_SEC_SC
115 bool "Support SNVS configuration"
116 help
117 Allow to configure the SNVS via SCU API to configure tampers and secure
118 violation.
119
120config IMX_SNVS_SEC_SC_AUTO
121 bool "Support SNVS configuration command"
122 depends on IMX_SNVS_SEC_SC
123 help
124 This configuration will apply the selected configurations automatically
125 at boot.
126
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200127endif