blob: 3c388183bc28790b30344a7d3a566a279d0a215f [file] [log] [blame]
Adrian Alonso98810772015-09-03 11:49:28 -05001if ARCH_MX7
2
3config MX7
4 bool
Michal Simek84f3dec2018-07-23 15:55:13 +02005 default y
6 select ARCH_SUPPORT_PSCI
7 select CPU_V7_HAS_NONSEC
8 select CPU_V7_HAS_VIRT
Adrian Alonsoaeb57d82015-10-12 13:48:10 -05009 select ROM_UNIFIED_SECTIONS
Stefan Agner42960412018-01-05 15:08:17 +010010 select SYSCOUNTER_TIMER
Simon Glass18980cc2017-05-17 03:25:22 -060011 imply CMD_FUSE
Adrian Alonso98810772015-09-03 11:49:28 -050012
13config MX7D
Michal Simek84f3dec2018-07-23 15:55:13 +020014 bool
Breno Lima998ffd32017-11-27 21:09:00 -020015 select HAS_CAAM
Adrian Alonsoaeb57d82015-10-12 13:48:10 -050016 select ROM_UNIFIED_SECTIONS
Simon Glass18980cc2017-05-17 03:25:22 -060017 imply CMD_FUSE
Adrian Alonso98810772015-09-03 11:49:28 -050018
Simon Glass72cc5382022-10-20 18:22:39 -060019config TEXT_BASE
Marek Vasut1fb490d2020-05-22 01:13:54 +020020 default 0x87800000
21
22config SPL_TEXT_BASE
23 depends on SPL
24 default 0x00912000
25
Alexandru Gagniuc5078dc62021-09-07 12:07:09 -050026config OPTEE_TZDRAM_SIZE
27 hex "Amount of Trust-Zone RAM for the OPTEE image"
28 default 0x0000000
29 depends on OPTEE_LIB
30 help
31 The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
32 runtime.
33
Adrian Alonso98810772015-09-03 11:49:28 -050034choice
35 prompt "MX7 board select"
36 optional
37
Ilya Ledvich38a53c62017-09-24 09:00:25 +030038config TARGET_CL_SOM_IMX7
39 bool "CL-SOM-iMX7"
Ilya Ledvich38a53c62017-09-24 09:00:25 +030040 select DM
41 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020042 select MX7D
Ilya Ledvich38a53c62017-09-24 09:00:25 +030043 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +020044 imply CMD_DM
Ilya Ledvich38a53c62017-09-24 09:00:25 +030045
Ilko Ilieve2480f12021-04-16 15:48:13 +020046config TARGET_IMX7_CM
47 bool "Ronetix iMX7-CM"
48 select BOARD_LATE_INIT
49 select DM
50 select DM_THERMAL
51 select MX7D
52 select SUPPORT_SPL
53 imply CMD_DM
54
Shawn Guoec907a02019-07-07 20:59:55 +080055config TARGET_MEERKAT96
56 bool "NovTech Meerkat96 board"
57 select BOARD_LATE_INIT
58 select DM
59 select DM_SERIAL
60 select DM_THERMAL
61 select MX7D
62 imply CMD_DM
63
Adrian Alonso98810772015-09-03 11:49:28 -050064config TARGET_MX7DSABRESD
65 bool "mx7dsabresd"
Tom Rini22d567e2017-01-22 19:43:11 -050066 select BOARD_LATE_INIT
Adrian Alonso98810772015-09-03 11:49:28 -050067 select DM
68 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020069 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +020070 imply CMD_DM
Gaurav Jaine389ac92022-03-24 11:50:30 +053071 select FSL_CAAM
Adrian Alonso98810772015-09-03 11:49:28 -050072
Vanessa Maegima27142c32017-05-08 13:17:28 -030073config TARGET_PICO_IMX7D
74 bool "pico-imx7d"
75 select BOARD_LATE_INIT
Vanessa Maegima27142c32017-05-08 13:17:28 -030076 select DM
77 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020078 select MX7D
Fabio Estevam6ed39812018-06-29 15:19:11 -030079 select SUPPORT_SPL
Michal Simeke3dbf982018-07-31 08:11:28 +020080 imply CMD_DM
Vanessa Maegima27142c32017-05-08 13:17:28 -030081
Fabio Estevamdb1aa292021-05-28 10:26:57 -030082config TARGET_SMEGW01
83 bool "smegw01"
84 select BOARD_LATE_INIT
85 select DM
86 select DM_THERMAL
87 select MX7D
88 imply CMD_DM
89
Fabio Estevam6cfa7122016-02-29 09:33:22 -030090config TARGET_WARP7
91 bool "warp7"
Tom Rini22d567e2017-01-22 19:43:11 -050092 select BOARD_LATE_INIT
Fabio Estevam6cfa7122016-02-29 09:33:22 -030093 select DM
94 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020095 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +020096 imply CMD_DM
Fabio Estevam6cfa7122016-02-29 09:33:22 -030097
Stefan Agner41f75bb2016-07-20 21:27:49 -070098config TARGET_COLIBRI_IMX7
99 bool "Support Colibri iMX7S/iMX7D modules"
100 select DM
101 select DM_SERIAL
102 select DM_THERMAL
Tom Rini96a58172021-08-23 16:35:25 -0400103 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +0200104 imply CMD_DM
Stefan Agner41f75bb2016-07-20 21:27:49 -0700105
Adrian Alonso98810772015-09-03 11:49:28 -0500106endchoice
107
108config SYS_SOC
109 default "mx7"
110
Ilya Ledvich38a53c62017-09-24 09:00:25 +0300111source "board/compulab/cl-som-imx7/Kconfig"
Ilko Ilieve2480f12021-04-16 15:48:13 +0200112source "board/ronetix/imx7-cm/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -0500113source "board/freescale/mx7dsabresd/Kconfig"
Shawn Guoec907a02019-07-07 20:59:55 +0800114source "board/novtech/meerkat96/Kconfig"
Fabio Estevamdb1aa292021-05-28 10:26:57 -0300115source "board/storopack/smegw01/Kconfig"
Vanessa Maegima27142c32017-05-08 13:17:28 -0300116source "board/technexion/pico-imx7d/Kconfig"
Stefan Agner41f75bb2016-07-20 21:27:49 -0700117source "board/toradex/colibri_imx7/Kconfig"
Fabio Estevam6cfa7122016-02-29 09:33:22 -0300118source "board/warp7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -0500119
120endif