blob: 0cad825287c042a6e2f302dcd148230fe9711400 [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
Adrian Alonso1a8150d2015-09-03 11:49:28 -050071
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030072config TARGET_PICO_IMX7D
73 bool "pico-imx7d"
74 select BOARD_LATE_INIT
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030075 select DM
76 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020077 select MX7D
Fabio Estevamd5b71772018-06-29 15:19:11 -030078 select SUPPORT_SPL
Michal Simekb3815fc2018-07-31 08:11:28 +020079 imply CMD_DM
Vanessa Maegima1541d7a2017-05-08 13:17:28 -030080
Fabio Estevam40496ac2021-05-28 10:26:57 -030081config TARGET_SMEGW01
82 bool "smegw01"
83 select BOARD_LATE_INIT
84 select DM
85 select DM_THERMAL
86 select MX7D
87 imply CMD_DM
88
Fabio Estevam47173482016-02-29 09:33:22 -030089config TARGET_WARP7
90 bool "warp7"
Tom Rinie5ec4812017-01-22 19:43:11 -050091 select BOARD_LATE_INIT
Fabio Estevam47173482016-02-29 09:33:22 -030092 select DM
93 select DM_THERMAL
Michal Simek5ed063d2018-07-23 15:55:13 +020094 select MX7D
Michal Simek08a00cb2018-07-23 15:55:14 +020095 imply CMD_DM
Fabio Estevam47173482016-02-29 09:33:22 -030096
Stefan Agnerae440ab2016-07-20 21:27:49 -070097config TARGET_COLIBRI_IMX7
98 bool "Support Colibri iMX7S/iMX7D modules"
99 select DM
100 select DM_SERIAL
101 select DM_THERMAL
Tom Rinifcadcaa2021-08-23 16:35:25 -0400102 select MX7D
Michal Simek08a00cb2018-07-23 15:55:14 +0200103 imply CMD_DM
Stefan Agnerae440ab2016-07-20 21:27:49 -0700104
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500105endchoice
106
107config SYS_SOC
108 default "mx7"
109
Ilya Ledvich69632042017-09-24 09:00:25 +0300110source "board/compulab/cl-som-imx7/Kconfig"
Ilko Ilievfdd2f352021-04-16 15:48:13 +0200111source "board/ronetix/imx7-cm/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500112source "board/freescale/mx7dsabresd/Kconfig"
Shawn Guo6802d792019-07-07 20:59:55 +0800113source "board/novtech/meerkat96/Kconfig"
Fabio Estevam40496ac2021-05-28 10:26:57 -0300114source "board/storopack/smegw01/Kconfig"
Vanessa Maegima1541d7a2017-05-08 13:17:28 -0300115source "board/technexion/pico-imx7d/Kconfig"
Stefan Agnerae440ab2016-07-20 21:27:49 -0700116source "board/toradex/colibri_imx7/Kconfig"
Fabio Estevam47173482016-02-29 09:33:22 -0300117source "board/warp7/Kconfig"
Adrian Alonso1a8150d2015-09-03 11:49:28 -0500118
119endif