u-boot-brain/arch/arm/mach-imx
Tom Rini f27ffe4177 arm: mx6: Make all i.MX6 SoCs user-selectable
We have a number of platforms that are a combination of a carrier board
and System-on-Module (SoM) that in turn allows for the board to have
different SoCs on it.  In some cases, this is handled via board-specific
Kconfig options.  In other cases we make use of
CONFIG_SYS_EXTRA_OPTIONS.  This latter case however can lead to invalid
configurations as we will not in turn get options that in Kconfig are
selected by or depend on that setting.

To resolve this, make the SoC option a choice in Kconfig and make boards
depend on what they can support.  This change opens us up for further
clean-ups in the cases where a single CONFIG_TARGET_xxx can support
different SoCs and today they do not, or do not cleanly do so.

Reported-by: Matt Porter <mporter@konsulko.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>
Cc: Soeren Moch <smoch@web.de>
Cc: Markus Niebel <Markus.Niebel@tq-group.com>
Cc: Igor Opaniuk <igor.opaniuk@toradex.com>
Cc: Heiko Schocher <hs@denx.de>
Cc: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Cc: Otavio Salvador <otavio@ossystems.com.br>
Cc: Nikita Kiryanov <nikita@compulab.co.il>
Cc: Andreas Geisreiter <ageisreiter@dh-electronics.de>
Cc: Ludwig Zenz <lzenz@dh-electronics.de>
Cc: Lukasz Majewski <lukma@denx.de>
Cc: Akshay Bhat <akshaybhat@timesys.com>
Cc: Ken Lin <Ken.Lin@advantech.com.tw>
Cc: Ian Ray <ian.ray@ge.com>
Cc: Tim Harvey <tharvey@gateworks.com>
Cc: Jagan Teki <jagan@amarulasolutions.com>
Cc: Raffaele RECALCATI <raffaele.recalcati@bticino.it>
Cc: Simone CIANNI <simone.cianni@bticino.it>
Cc: Adam Ford <aford173@gmail.com>
Cc: Marcin Niestroj <m.niestroj@grinn-global.com>
Cc: "Eric Bénard" <eric@eukrea.com>
Cc: Baruch Siach <baruch@tkos.co.il>
Cc: Jason Liu <jason.hui.liu@nxp.com>
Cc: Ye Li <ye.li@nxp.com>
Cc: Eric Nelson <eric@nelint.com>
Cc: Troy Kisky <troy.kisky@boundarydevices.com>
Cc: Peng Fan <peng.fan@nxp.com>
Cc: Parthiban Nallathambi <parthiban@linumiz.com>
Cc: Marek Vasut <marex@denx.de>
Cc: "Sébastien Szymanski" <sebastien.szymanski@armadeus.com>
Cc: Christian Gmeiner <christian.gmeiner@gmail.com>
Cc: Niel Fourie <lusus@denx.de>
Cc: Martyn Welch <martyn.welch@collabora.com>
Cc: Richard Hu <richard.hu@technexion.com>
Cc: Stefan Roese <sr@denx.de>
Cc: Boris Brezillon <bbrezillon@kernel.org>
Cc: Arkadiusz Karas <arkadiusz.karas@somlabs.com>
Cc: Breno Lima <breno.lima@nxp.com>
Cc: Francesco Montefoschi <francesco.montefoschi@udoo.org>
Cc: Silvio Fricke <open-source@softing.de>
Tested-by: Matt Porter <mporter@konsulko.com> [colibri_imx6]
Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-08-25 10:26:14 +02:00
..
imx8 treewide: convert bd_t to struct bd_info by coccinelle 2020-07-17 09:30:13 -04:00
imx8m imx8m: soc: Remove unneeded space 2020-07-27 14:02:37 +02:00
imxrt common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mx2 ARM: imx: Fix typo in select option for ZMX25 2019-04-25 19:16:24 +02:00
mx3 arm: Remove mx31pdk board 2020-07-09 20:58:06 +05:30
mx5 common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
mx6 arm: mx6: Make all i.MX6 SoCs user-selectable 2020-08-25 10:26:14 +02:00
mx7 ARM: imx: ddr: Add deskew register programming 2020-08-17 17:55:49 +02:00
mx7ulp common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
mxs imx: Add support for i.MX28 based XEA board 2020-01-07 10:26:56 +01:00
cache.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cmd_bmode.c ARM: imx: Add support for reading out the primary/secondary bmode 2020-08-17 17:55:17 +02:00
cmd_dek.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
cmd_hdmidet.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
cmd_nandbcb.c common: Drop linux/bug.h from common header 2020-05-18 21:19:23 -04:00
cpu.c thermal: Drop dm.h header file 2020-08-03 22:19:54 -04:00
ddrmc-vf610-calibration.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ddrmc-vf610-calibration.h ddr: vybrid: Provide code to perform on-boot calibration 2019-02-15 12:16:50 +01:00
ddrmc-vf610.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
hab.c command: Remove the cmd_tbl_t typedef 2020-05-18 18:36:55 -04:00
i2c-mxv7.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
imx_bootaux.c imx: bootaux: use arm_smccc_smc 2020-07-14 15:23:46 +08:00
init.c ARM: imx: Add support for switching primary/secondary boot mode to bmode 2020-08-17 17:54:01 +02:00
iomux-v3.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig ARM: imx: Add bmode support for iMX7 2020-08-17 17:53:55 +02:00
lowlevel.S imx: add lowlevel init for ARM64 2019-04-25 19:16:24 +02:00
mac.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Makefile imx: remove imx sip file 2020-07-14 15:23:47 +08:00
misc.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
mkimage_fit_atf.sh imx: move ATF to the back of the FIT to fix loading over yModem 2020-06-08 10:41:38 +02:00
mmc_env.c Revert "imx: mmc_env: update runtime SD/MMC boot env device" 2019-10-08 16:36:37 +02:00
mmdc_size.c imx: mmdc_size: Allow building it for i.MX7ULP 2019-10-14 09:31:41 +02:00
rdc-sema.c SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sata.c arm: Don't include common.h in header files 2020-05-18 14:54:24 -04:00
speed.c common: Move clock functions into a new file 2020-01-17 13:27:29 -05:00
spl_imx_romapi.c Revert "imx: rom api: fix image offset computation" 2020-06-09 11:19:55 +02:00
spl_qspi.cfg arm: imx: Finish migration from CONFIG_SECURE_BOOT to CONFIG_IMX_HAB 2020-06-26 10:29:06 -04:00
spl_sd.cfg imx: replace CONFIG_SECURE_BOOT with CONFIG_IMX_HAB 2019-10-08 16:36:37 +02:00
spl.c ARM: imx: hab: panic on authentication failure 2020-08-03 17:03:57 +02:00
syscounter.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
timer.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
video.c env: Move env_get() to env.h 2019-08-11 16:43:41 -04:00