blob: 0bb18f652009a9243de32cbb85efb2f78736edde [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
Tom Rini945a6682022-11-19 18:45:22 -05009 select IOMUX_LPSR
Adrian Alonsoaeb57d82015-10-12 13:48:10 -050010 select ROM_UNIFIED_SECTIONS
Stefan Agner42960412018-01-05 15:08:17 +010011 select SYSCOUNTER_TIMER
Simon Glass18980cc2017-05-17 03:25:22 -060012 imply CMD_FUSE
Adrian Alonso98810772015-09-03 11:49:28 -050013
14config MX7D
Michal Simek84f3dec2018-07-23 15:55:13 +020015 bool
Breno Lima998ffd32017-11-27 21:09:00 -020016 select HAS_CAAM
Adrian Alonsoaeb57d82015-10-12 13:48:10 -050017 select ROM_UNIFIED_SECTIONS
Simon Glass18980cc2017-05-17 03:25:22 -060018 imply CMD_FUSE
Adrian Alonso98810772015-09-03 11:49:28 -050019
Simon Glass72cc5382022-10-20 18:22:39 -060020config TEXT_BASE
Marek Vasut1fb490d2020-05-22 01:13:54 +020021 default 0x87800000
22
23config SPL_TEXT_BASE
24 depends on SPL
25 default 0x00912000
26
Alexandru Gagniuc5078dc62021-09-07 12:07:09 -050027config OPTEE_TZDRAM_SIZE
28 hex "Amount of Trust-Zone RAM for the OPTEE image"
29 default 0x0000000
30 depends on OPTEE_LIB
31 help
32 The size of pre-allocated Trust Zone DRAM to allocate for the OPTEE
33 runtime.
34
Adrian Alonso98810772015-09-03 11:49:28 -050035choice
36 prompt "MX7 board select"
37 optional
38
Ilya Ledvich38a53c62017-09-24 09:00:25 +030039config TARGET_CL_SOM_IMX7
40 bool "CL-SOM-iMX7"
Ilya Ledvich38a53c62017-09-24 09:00:25 +030041 select DM
42 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020043 select MX7D
Ilya Ledvich38a53c62017-09-24 09:00:25 +030044 select SUPPORT_SPL
Michal Simek2e7c8192018-07-23 15:55:14 +020045 imply CMD_DM
Ilya Ledvich38a53c62017-09-24 09:00:25 +030046
Ilko Ilieve2480f12021-04-16 15:48:13 +020047config TARGET_IMX7_CM
48 bool "Ronetix iMX7-CM"
49 select BOARD_LATE_INIT
50 select DM
51 select DM_THERMAL
52 select MX7D
53 select SUPPORT_SPL
54 imply CMD_DM
55
Shawn Guoec907a02019-07-07 20:59:55 +080056config TARGET_MEERKAT96
57 bool "NovTech Meerkat96 board"
58 select BOARD_LATE_INIT
59 select DM
60 select DM_SERIAL
61 select DM_THERMAL
62 select MX7D
63 imply CMD_DM
64
Adrian Alonso98810772015-09-03 11:49:28 -050065config TARGET_MX7DSABRESD
66 bool "mx7dsabresd"
Tom Rini22d567e2017-01-22 19:43:11 -050067 select BOARD_LATE_INIT
Adrian Alonso98810772015-09-03 11:49:28 -050068 select DM
69 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020070 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +020071 imply CMD_DM
Gaurav Jaine389ac92022-03-24 11:50:30 +053072 select FSL_CAAM
Adrian Alonso98810772015-09-03 11:49:28 -050073
Vanessa Maegima27142c32017-05-08 13:17:28 -030074config TARGET_PICO_IMX7D
75 bool "pico-imx7d"
76 select BOARD_LATE_INIT
Vanessa Maegima27142c32017-05-08 13:17:28 -030077 select DM
78 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020079 select MX7D
Fabio Estevam6ed39812018-06-29 15:19:11 -030080 select SUPPORT_SPL
Michal Simeke3dbf982018-07-31 08:11:28 +020081 imply CMD_DM
Vanessa Maegima27142c32017-05-08 13:17:28 -030082
Fabio Estevamdb1aa292021-05-28 10:26:57 -030083config TARGET_SMEGW01
84 bool "smegw01"
85 select BOARD_LATE_INIT
86 select DM
87 select DM_THERMAL
88 select MX7D
89 imply CMD_DM
90
Fabio Estevam6cfa7122016-02-29 09:33:22 -030091config TARGET_WARP7
92 bool "warp7"
Tom Rini22d567e2017-01-22 19:43:11 -050093 select BOARD_LATE_INIT
Fabio Estevam6cfa7122016-02-29 09:33:22 -030094 select DM
95 select DM_THERMAL
Michal Simek84f3dec2018-07-23 15:55:13 +020096 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +020097 imply CMD_DM
Fabio Estevam6cfa7122016-02-29 09:33:22 -030098
Stefan Agner41f75bb2016-07-20 21:27:49 -070099config TARGET_COLIBRI_IMX7
100 bool "Support Colibri iMX7S/iMX7D modules"
101 select DM
102 select DM_SERIAL
103 select DM_THERMAL
Tom Rini96a58172021-08-23 16:35:25 -0400104 select MX7D
Michal Simek2e7c8192018-07-23 15:55:14 +0200105 imply CMD_DM
Stefan Agner41f75bb2016-07-20 21:27:49 -0700106
Adrian Alonso98810772015-09-03 11:49:28 -0500107endchoice
108
109config SYS_SOC
110 default "mx7"
111
Ilya Ledvich38a53c62017-09-24 09:00:25 +0300112source "board/compulab/cl-som-imx7/Kconfig"
Ilko Ilieve2480f12021-04-16 15:48:13 +0200113source "board/ronetix/imx7-cm/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -0500114source "board/freescale/mx7dsabresd/Kconfig"
Shawn Guoec907a02019-07-07 20:59:55 +0800115source "board/novtech/meerkat96/Kconfig"
Fabio Estevamdb1aa292021-05-28 10:26:57 -0300116source "board/storopack/smegw01/Kconfig"
Vanessa Maegima27142c32017-05-08 13:17:28 -0300117source "board/technexion/pico-imx7d/Kconfig"
Stefan Agner41f75bb2016-07-20 21:27:49 -0700118source "board/toradex/colibri_imx7/Kconfig"
Fabio Estevam6cfa7122016-02-29 09:33:22 -0300119source "board/warp7/Kconfig"
Adrian Alonso98810772015-09-03 11:49:28 -0500120
121endif