blob: 04b9729109e9d5dd8f325f761b25ca29798e0952 [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"
5 help
6 This option enables the support for AHAB secure boot.
7
Peng Fanb2b8b9b2018-10-18 14:28:08 +02008config IMX8
9 bool
10
Peng Fan04b24962018-12-21 06:21:15 +000011config 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
Peng Fan7f50af62019-03-05 02:32:28 +000018config IMX8QM
19 select IMX8
20 select SUPPORT_SPL
Peng Fan6aead232020-05-05 20:28:41 +080021 select SPL_RECOVER_DATA_SECTION
Peng Fan7f50af62019-03-05 02:32:28 +000022 bool
23
Peng Fanb2b8b9b2018-10-18 14:28:08 +020024config IMX8QXP
25 select IMX8
Peng Fan3bd888b2018-12-21 06:21:13 +000026 select SUPPORT_SPL
Peng Fan6aead232020-05-05 20:28:41 +080027 select SPL_RECOVER_DATA_SECTION
Peng Fanb2b8b9b2018-10-18 14:28:08 +020028 bool
29
30config SYS_SOC
31 default "imx8"
32
Peng Fan7b86cd42019-08-22 07:42:33 +000033config 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
Peng Fan700315c2019-08-22 07:42:41 +000039config 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
Peng Fanf44afd52020-05-05 20:28:37 +080046config BOOTAUX_RESERVED_MEM_BASE
47 hex "i.MX auxiliary core dram memory base"
48 default 0
49
50config BOOTAUX_RESERVED_MEM_SIZE
51 hex "i.MX auxiliary core dram memory size"
52 default 0
53
Peng Fand0dd7392018-10-18 14:28:37 +020054choice
55 prompt "i.MX8 board select"
56 optional
57
Marcel Ziswiler3d603662019-05-31 19:00:20 +030058config TARGET_APALIS_IMX8
59 bool "Support Apalis iMX8 module"
60 select BOARD_LATE_INIT
61 select IMX8QM
62
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +030063config TARGET_COLIBRI_IMX8X
64 bool "Support Colibri iMX8X module"
Peng Fand0dd7392018-10-18 14:28:37 +020065 select BOARD_LATE_INIT
66 select IMX8QXP
67
Igor Opaniuka51fdba2020-10-22 11:21:38 +030068config TARGET_APALIS_IMX8X
69 bool "Support Apalis iMX8X module"
70 select BOARD_LATE_INIT
71 select IMX8QXP
72
Anatolij Gustschineb79caf2020-01-07 16:37:43 +010073config TARGET_DENEB
74 bool "Support i.MX8QXP Capricorn Deneb board"
75 select BOARD_LATE_INIT
76 select IMX8QXP
77
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +010078config TARGET_GIEDI
79 bool "Support i.MX8QXP Capricorn Giedi board"
80 select BOARD_LATE_INIT
81 select IMX8QXP
82
Peng Fan0d331c02019-03-05 02:32:49 +000083config TARGET_IMX8QM_MEK
84 bool "Support i.MX8QM MEK board"
85 select BOARD_LATE_INIT
86 select IMX8QM
87
Oliver Grauteeef72442019-09-20 07:08:41 +000088config 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
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +030094config TARGET_IMX8QXP_MEK
95 bool "Support i.MX8QXP MEK board"
96 select BOARD_LATE_INIT
97 select IMX8QXP
98
Peng Fand0dd7392018-10-18 14:28:37 +020099endchoice
100
Peng Fan0d331c02019-03-05 02:32:49 +0000101source "board/freescale/imx8qm_mek/Kconfig"
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +0300102source "board/freescale/imx8qxp_mek/Kconfig"
Oliver Grauteeef72442019-09-20 07:08:41 +0000103source "board/advantech/imx8qm_rom7720_a1/Kconfig"
Marcel Ziswiler3d603662019-05-31 19:00:20 +0300104source "board/toradex/apalis-imx8/Kconfig"
Marcel Ziswiler7ce134b72019-05-31 18:56:39 +0300105source "board/toradex/colibri-imx8x/Kconfig"
Igor Opaniuka51fdba2020-10-22 11:21:38 +0300106source "board/toradex/apalis-imx8x/Kconfig"
Anatolij Gustschin7b5b9342020-01-07 16:37:42 +0100107source "board/siemens/capricorn/Kconfig"
Peng Fand0dd7392018-10-18 14:28:37 +0200108
Franck LENORMAND242d1cd2019-10-09 10:27:43 +0200109config 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
115config 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
Peng Fanb2b8b9b2018-10-18 14:28:08 +0200122endif