[v2] arm: mx6: Make all i.MX6 SoCs user-selectable

Marcin Niestrój m.niestroj at grinn-global.com
Tue Aug 18 14:22:48 CEST 2020


Tom Rini <trini at konsulko.com> writes:

> 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 at konsulko.com>
> Cc: Stefano Babic <sbabic at denx.de>
> Cc: Fabio Estevam <festevam at gmail.com>
> Cc: "NXP i.MX U-Boot Team" <uboot-imx at nxp.com>
> Cc: Soeren Moch <smoch at web.de>
> Cc: Markus Niebel <Markus.Niebel at tq-group.com>
> Cc: Igor Opaniuk <igor.opaniuk at toradex.com>
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Hannes Schmelzer <hannes.schmelzer at br-automation.com>
> Cc: Otavio Salvador <otavio at ossystems.com.br>
> Cc: Nikita Kiryanov <nikita at compulab.co.il>
> Cc: Andreas Geisreiter <ageisreiter at dh-electronics.de>
> Cc: Ludwig Zenz <lzenz at dh-electronics.de>
> Cc: Lukasz Majewski <lukma at denx.de>
> Cc: Akshay Bhat <akshaybhat at timesys.com>
> Cc: Ken Lin <Ken.Lin at advantech.com.tw>
> Cc: Ian Ray <ian.ray at ge.com>
> Cc: Tim Harvey <tharvey at gateworks.com>
> Cc: Jagan Teki <jagan at amarulasolutions.com>
> Cc: Raffaele RECALCATI <raffaele.recalcati at bticino.it>
> Cc: Simone CIANNI <simone.cianni at bticino.it>
> Cc: Adam Ford <aford173 at gmail.com>
> Cc: Marcin Niestroj <m.niestroj at grinn-global.com>
> Cc: "Eric Bénard" <eric at eukrea.com>
> Cc: Baruch Siach <baruch at tkos.co.il>
> Cc: Jason Liu <jason.hui.liu at nxp.com>
> Cc: Ye Li <ye.li at nxp.com>
> Cc: Eric Nelson <eric at nelint.com>
> Cc: Troy Kisky <troy.kisky at boundarydevices.com>
> Cc: Peng Fan <peng.fan at nxp.com>
> Cc: Parthiban Nallathambi <parthiban at linumiz.com>
> Cc: Marek Vasut <marex at denx.de>
> Cc: "Sébastien Szymanski" <sebastien.szymanski at armadeus.com>
> Cc: Christian Gmeiner <christian.gmeiner at gmail.com>
> Cc: Niel Fourie <lusus at denx.de>
> Cc: Martyn Welch <martyn.welch at collabora.com>
> Cc: Richard Hu <richard.hu at technexion.com>
> Cc: Stefan Roese <sr at denx.de>
> Cc: Boris Brezillon <bbrezillon at kernel.org>
> Cc: Arkadiusz Karas <arkadiusz.karas at somlabs.com>
> Cc: Breno Lima <breno.lima at nxp.com>
> Cc: Francesco Montefoschi <francesco.montefoschi at udoo.org>
> Cc: Silvio Fricke <open-source at softing.de>
> Tested-by: Matt Porter <mporter at konsulko.com> [colibri_imx6]
> Signed-off-by: Tom Rini <trini at konsulko.com>
> ---
> Changes in v2:
> - Fix LITESOM / OPOS6UL as noted by Peng Fan / Stefano Babic
> ---

Reviewed-by: Marcin Niestroj <m.niestroj at grinn-global.com>


More information about the U-Boot mailing list