From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Warren Date: Wed, 22 Jul 2015 11:40:09 -0600 Subject: [U-Boot] [PATCH V2 2/6] Tegra: Rework KConfig options to allow 64-bit builds (T210) In-Reply-To: <1437421844-5157-3-git-send-email-twarren@nvidia.com> References: <1437421844-5157-1-git-send-email-twarren@nvidia.com> <1437421844-5157-3-git-send-email-twarren@nvidia.com> Message-ID: <55AFD579.6070701@wwwdotorg.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 07/20/2015 01:50 PM, Tom Warren wrote: > Moved Tegra config options to mach-tegra/Kconfig so that both > 32-bit and 64-bit builds can co-exist for Tegra SoCs. > > T210 will be 64-bit only (no SPL) and will requires a 32-bit > AVP/BPMP loader. > diff --git a/arch/arm/mach-tegra/Kconfig b/arch/arm/mach-tegra/Kconfig > config TEGRA20 > bool "Tegra20 family" > + select SUPPORT_SPL > + select SPL > + select OF_CONTROL > + select SPL_DISABLE_OF_CONTROL > + select CPU_V7 > + select DM > + select DM_SPI_FLASH > + select DM_SERIAL > + select DM_I2C > + select DM_SPI > + select DM_GPIO This patch duplicates all those added lines for all current chips. Could we add a new config variable to share these; something like: config TEGRA_ARMV7_COMMON select SUPPORT_SPL select SPL select OF_CONTROL select SPL_DISABLE_OF_CONTROL select CPU_V7 select DM select DM_SPI_FLASH select DM_SERIAL select DM_I2C select DM_SPI select DM_GPIO config TEGRA20 bool "Tegra20 family" select TEGRA_ARMv7_COMMON