From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin =?utf-8?Q?Niestr=C3=B3j?= Date: Tue, 18 Aug 2020 14:22:48 +0200 Subject: [v2] arm: mx6: Make all i.MX6 SoCs user-selectable In-Reply-To: <20200818114350.5598-1-trini@konsulko.com> References: <20200818114350.5598-1-trini@konsulko.com> Message-ID: <87imdg6t47.fsf@grinn-global.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Tom Rini 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 > Cc: Stefano Babic > Cc: Fabio Estevam > Cc: "NXP i.MX U-Boot Team" > Cc: Soeren Moch > Cc: Markus Niebel > Cc: Igor Opaniuk > Cc: Heiko Schocher > Cc: Hannes Schmelzer > Cc: Otavio Salvador > Cc: Nikita Kiryanov > Cc: Andreas Geisreiter > Cc: Ludwig Zenz > Cc: Lukasz Majewski > Cc: Akshay Bhat > Cc: Ken Lin > Cc: Ian Ray > Cc: Tim Harvey > Cc: Jagan Teki > Cc: Raffaele RECALCATI > Cc: Simone CIANNI > Cc: Adam Ford > Cc: Marcin Niestroj > Cc: "Eric B?nard" > Cc: Baruch Siach > Cc: Jason Liu > Cc: Ye Li > Cc: Eric Nelson > Cc: Troy Kisky > Cc: Peng Fan > Cc: Parthiban Nallathambi > Cc: Marek Vasut > Cc: "S?bastien Szymanski" > Cc: Christian Gmeiner > Cc: Niel Fourie > Cc: Martyn Welch > Cc: Richard Hu > Cc: Stefan Roese > Cc: Boris Brezillon > Cc: Arkadiusz Karas > Cc: Breno Lima > Cc: Francesco Montefoschi > Cc: Silvio Fricke > Tested-by: Matt Porter [colibri_imx6] > Signed-off-by: Tom Rini > --- > Changes in v2: > - Fix LITESOM / OPOS6UL as noted by Peng Fan / Stefano Babic > --- Reviewed-by: Marcin Niestroj