Message ID | 20220509051055.40232-1-samuel@sholland.org |
---|---|
State | Accepted |
Commit | 821fdfbba36790cc0ece07f01ebe5bb97ce37425 |
Delegated to: | Andre Przywara |
Headers | show |
Series | [1/2] sunxi: Remove obsolete Kconfig selections | expand |
On Mon, 9 May 2022 00:10:54 -0500 Samuel Holland <samuel@sholland.org> wrote: > ARCH_SUNXI selects DM_SERIAL, so the condition can never be satisfied. True, and even if !DM_SERIAL would be a thing, it looks odd to begin with. > Signed-off-by: Samuel Holland <samuel@sholland.org> Reviewed-by: Andre Przywara <andre.przywara@arm.com> Cheers, Andre > --- > > arch/arm/mach-sunxi/Kconfig | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > index 1f43b25324..ee606c5bbc 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -207,7 +207,6 @@ config MACH_SUN5I > select PHY_SUN4I_USB > select SUNXI_GEN_SUN4I > select SUPPORT_SPL > - imply CONS_INDEX_2 if !DM_SERIAL > imply SPL_SYS_I2C_LEGACY > imply SYS_I2C_LEGACY > > @@ -255,7 +254,6 @@ config MACH_SUN8I_A23 > select SUPPORT_SPL > select SYS_I2C_SUN8I_RSB > select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT > - imply CONS_INDEX_5 if !DM_SERIAL > > config MACH_SUN8I_A33 > bool "sun8i (Allwinner A33)" > @@ -270,7 +268,6 @@ config MACH_SUN8I_A33 > select SUPPORT_SPL > select SYS_I2C_SUN8I_RSB > select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT > - imply CONS_INDEX_5 if !DM_SERIAL > > config MACH_SUN8I_A83T > bool "sun8i (Allwinner A83T)"
On Mon, 9 May 2022 00:10:54 -0500 Samuel Holland <samuel@sholland.org> wrote: > ARCH_SUNXI selects DM_SERIAL, so the condition can never be satisfied. > > Signed-off-by: Samuel Holland <samuel@sholland.org> Applied to sunxi/master. Thanks! Andre > --- > > arch/arm/mach-sunxi/Kconfig | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig > index 1f43b25324..ee606c5bbc 100644 > --- a/arch/arm/mach-sunxi/Kconfig > +++ b/arch/arm/mach-sunxi/Kconfig > @@ -207,7 +207,6 @@ config MACH_SUN5I > select PHY_SUN4I_USB > select SUNXI_GEN_SUN4I > select SUPPORT_SPL > - imply CONS_INDEX_2 if !DM_SERIAL > imply SPL_SYS_I2C_LEGACY > imply SYS_I2C_LEGACY > > @@ -255,7 +254,6 @@ config MACH_SUN8I_A23 > select SUPPORT_SPL > select SYS_I2C_SUN8I_RSB > select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT > - imply CONS_INDEX_5 if !DM_SERIAL > > config MACH_SUN8I_A33 > bool "sun8i (Allwinner A33)" > @@ -270,7 +268,6 @@ config MACH_SUN8I_A33 > select SUPPORT_SPL > select SYS_I2C_SUN8I_RSB > select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT > - imply CONS_INDEX_5 if !DM_SERIAL > > config MACH_SUN8I_A83T > bool "sun8i (Allwinner A83T)"
diff --git a/arch/arm/mach-sunxi/Kconfig b/arch/arm/mach-sunxi/Kconfig index 1f43b25324..ee606c5bbc 100644 --- a/arch/arm/mach-sunxi/Kconfig +++ b/arch/arm/mach-sunxi/Kconfig @@ -207,7 +207,6 @@ config MACH_SUN5I select PHY_SUN4I_USB select SUNXI_GEN_SUN4I select SUPPORT_SPL - imply CONS_INDEX_2 if !DM_SERIAL imply SPL_SYS_I2C_LEGACY imply SYS_I2C_LEGACY @@ -255,7 +254,6 @@ config MACH_SUN8I_A23 select SUPPORT_SPL select SYS_I2C_SUN8I_RSB select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT - imply CONS_INDEX_5 if !DM_SERIAL config MACH_SUN8I_A33 bool "sun8i (Allwinner A33)" @@ -270,7 +268,6 @@ config MACH_SUN8I_A33 select SUPPORT_SPL select SYS_I2C_SUN8I_RSB select ARMV7_BOOT_SEC_DEFAULT if OLD_SUNXI_KERNEL_COMPAT - imply CONS_INDEX_5 if !DM_SERIAL config MACH_SUN8I_A83T bool "sun8i (Allwinner A83T)"
ARCH_SUNXI selects DM_SERIAL, so the condition can never be satisfied. Signed-off-by: Samuel Holland <samuel@sholland.org> --- arch/arm/mach-sunxi/Kconfig | 3 --- 1 file changed, 3 deletions(-)