blob: 4f9f51c9b054b4369f7f48a9bdba96ecf791dcd6 [file] [log] [blame]
Adrian Alonso1a8150d2015-09-03 11:49:28 -05001if ARCH_MX7
2
3config MX7
4 bool
Michal Simek5ed063d2018-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 Alonso6d846c72015-10-12 13:48:10 -05009 select ROM_UNIFIED_SECTIONS
Stefan Agner616aa552018-01-05 15:08:17 +010010 select SYSCOUNTER_TIMER
Simon Glass51f29372017-05-17 03:25:22 -060011 imply CMD_FUSE
Adrian Alonso1a8150d2015-09-03 11:49:28 -050012
13config MX7D
Michal Simek5ed063d2018-07-23 15:55:13 +020014 bool
Breno Lima52384b72017-11-27 21:09:00 -020015 select HAS_CAAM
Adrian Alonso6d846c72015-10-12 13:48:10 -050016 select ROM_UNIFIED_SECTIONS
Simon Glass51f29372017-05-17 03:25:22 -060017 imply CMD_FUSE
Adrian Alonso1a8150d2015-09-03 11:49:28 -050018
Marek Vasuta1f6d042020-05-22 01:13:54 +020019config SYS_TEXT_BASE
20 default 0x87800000
21
22config SPL_TEXT_BASE
23 depends on SPL
24 default 0x00912000
25
Alexandru Gagniucc5b68ef2021-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 Alonso1a8150d2015-09-03 11:49:28 -050034choice
35 prompt "MX7 board select"
36 optional
37
Ilya Ledvich69632042017-09-24 09:00:25 +030038config TARGET_CL_SOM_IMX7
39 bool "CL-SOM-iMX7"
Ilya Ledvich69632042017-09-24 09:00:25 +030040 select DM
41 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020042 select MX7D
Ilya Ledvich69632042017-09-24 09:00:25 +030043 select SUPPORT_SPL
Michal Simek08a00cb2018-07-23 15:55:14 +020044 imply CMD_DM
Ilya Ledvich69632042017-09-24 09:00:25 +030045
Ilko Ilievfdd2f352021-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 Guo6802d792019-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 Alonso1a8150d2015-09-03 11:49:28 -050064config TARGET_MX7DSABRESD
65 bool "mx7dsabresd"
Tom Rinie5ec4812017-01-22 19:43:11 -050066 select BOARD_LATE_INIT
Adrian Alonso1a8150d2015-09-03 11:49:28 -050067 select DM
68 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020069 select MX7D
Michal Simek08a00cb2018-07-23 15:55:14 +020070 imply CMD_DM
Gaurav Jain4f1375d2022-03-24 11:50:30 +053071 select FSL_CAAM
Adrian Alonso1a8150d2015-09-03 11:49:28 -050072
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030073config TARGET_PICO_IMX7D
74 bool "pico-imx7d"
75 select BOARD_LATE_INIT
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030076 select DM
77 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020078 select MX7D
Fabio Estevamd5b71772018-06-29 15:19:11 -030079 select SUPPORT_SPL
Michal Simekb3815fc2018-07-31 08:11:28 +020080 imply CMD_DM
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030081
Fabio Estevam40496ac2021-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 Estevam47173482016-02-29 09:33:22 -030090config TARGET_WARP7
91 bool "warp7"
Tom Rinie5ec4812017-01-22 19:43:11 -050092 select BOARD_LATE_INIT
Fabio Estevam47173482016-02-29 09:33:22 -030093 select DM
94 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020095 select MX7D
Michal Simek08a00cb2018-07-23 15:55:14 +020096 imply CMD_DM
Fabio Estevam47173482016-02-29 09:33:22 -030097
Stefan Agnerae440ab2016-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 Rinifcadcaa2021-08-23 16:35:25 -0400103 select MX7D
Michal Simek08a00cb2018-07-23 15:55:14 +0200104 imply CMD_DM
Stefan Agnerae440ab2016-07-20 21:27:49 -0700105
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500106endchoice
107
108config SYS_SOC
109 default "mx7"
110
Ilya Ledvich69632042017-09-24 09:00:25 +0300111source "board/compulab/cl-som-imx7/Kconfig"
Ilko Ilievfdd2f352021-04-16 15:48:13 +0200112source "board/ronetix/imx7-cm/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500113source "board/freescale/mx7dsabresd/Kconfig"
Shawn Guo6802d792019-07-07 20:59:55 +0800114source "board/novtech/meerkat96/Kconfig"
Fabio Estevam40496ac2021-05-28 10:26:57 -0300115source "board/storopack/smegw01/Kconfig"
Vanessa Maegima1541d7a2017-05-08 13:17:28 -0300116source "board/technexion/pico-imx7d/Kconfig"
Stefan Agnerae440ab2016-07-20 21:27:49 -0700117source "board/toradex/colibri_imx7/Kconfig"
Fabio Estevam47173482016-02-29 09:33:22 -0300118source "board/warp7/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500119
120endif