ARM: sti: remove configs SOC_STIH415 and SOC_STIH416
Subsystems (5)
PATCH 1/2 ARM: sti: remove configs SOC_STIH415 and SOC_STIH416
Commit b4bba92dfbe2 ("drm/sti: remove stih415-416 platform support") removes the reference to configs SOC_STIH415 and SOC_STIH416 in the config DRM_STI. Commit 64933513e461 ("reset: sti: Remove STiH415/6 reset support") removes the two configs STIH41{5,6}_RESET.
With those changes, the two configs SOC_STIH415 and SOC_STIH416 has no remaining effect. Remove them.
--- arch/arm/mach-sti/Kconfig | 18 ------------------ 1 file changed, 18 deletions(-)
arch/arm/mach-sti/Kconfig +0 -18
@@ -26,24 +26,6 @@ menuconfig ARCH_STI if ARCH_STI -config SOC_STIH415 - bool "STiH415 STMicroelectronics Consumer Electronics family" - default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH415 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattned Device - Trees. - -config SOC_STIH416 - bool "STiH416 STMicroelectronics Consumer Electronics family" - default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH416 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattened Device - Trees. - config SOC_STIH407 bool "STiH407 STMicroelectronics Consumer Electronics family" default y
Signature · 1 line
2.17.1
PATCH 2/2 reset: sti: simplify driver's config and build
With commit 64933513e461 ("reset: sti: Remove STiH415/6 reset support"), there is only one sti reset driver left and there no need to define a dedicated config STI_RESET_SYSCFG, which is selected by the config for the STiH407 reset driver.
Simply add reset-syscfg.c to the build for the STiH407 reset driver.
--- drivers/reset/sti/Kconfig | 4 ---- drivers/reset/sti/Makefile | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-)
drivers/reset/sti/Kconfig +0 -4
@@ -1,11 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only if ARCH_STI -config STI_RESET_SYSCFG - bool - config STIH407_RESET bool - select STI_RESET_SYSCFG endif
drivers/reset/sti/Makefile +1 -3
@@ -1,4 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_STI_RESET_SYSCFG) += reset-syscfg.o - -obj-$(CONFIG_STIH407_RESET) += reset-stih407.o +obj-$(CONFIG_STIH407_RESET) += reset-stih407.o reset-syscfg.o
Signature · 1 line
2.17.1
Re: [PATCH 2/2] reset: sti: simplify driver's config and build
Quoted 34 lines · Lukas Bulwahn
With commit
64933513e461("reset: sti: Remove STiH415/6 reset support"), there is only one sti reset driver left and there no need to define a dedicated configSTI_RESET_SYSCFG, which is selected by the config for the STiH407 reset driver.Simply add
reset-syscfg.cto the build for the STiH407 reset driver.Signed-off-by Lukas Bulwahn <[email protected]>--- drivers/reset/sti/Kconfig | 4 ---- drivers/reset/sti/Makefile | 4 +--- 2 files changed, 1 insertion(+), 7 deletions(-)drivers/reset/sti/Kconfig +0
-4@@ -1,11 +1,7 @@ # SPDX-License-Identifier: GPL-2.0-only if ARCH_STI -config STI_RESET_SYSCFG - bool - config STIH407_RESET bool - select STI_RESET_SYSCFG endifdrivers/reset/sti/Makefile +0
-0
drivers/reset/sti/Makefile line 2
Quoted 5 lines
drivers/reset/sti/Makefile +1
-3@@ -1,4 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_STI_RESET_SYSCFG) += reset-syscfg.o - -obj-$(CONFIG_STIH407_RESET) += reset-stih407.o +obj-$(CONFIG_STIH407_RESET) += reset-stih407.o reset-syscfg.o
Thanks
Patrice
Quoted 32 lines · Lukas Bulwahn
Commit
b4bba92dfbe2("drm/sti: remove stih415-416 platform support") removes the reference to configsSOC_STIH415andSOC_STIH416in the configDRM_STI. Commit64933513e461("reset: sti: Remove STiH415/6 reset support") removes the two configs STIH41{5,6}_RESET.With those changes, the two configs
SOC_STIH415andSOC_STIH416has no remaining effect. Remove them.Signed-off-by Lukas Bulwahn <[email protected]>--- arch/arm/mach-sti/Kconfig | 18 ------------------ 1 file changed, 18 deletions(-)arch/arm/mach-sti/Kconfig +0
-11@@ -26,24 +26,6 @@ menuconfig ARCH_STI if ARCH_STI -config SOC_STIH415 - bool "STiH415 STMicroelectronics Consumer Electronics family" - default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH415 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattned Device - Trees. - -config SOC_STIH416 - bool "STiH416 STMicroelectronics Consumer Electronics family"
arch/arm/mach-sti/Kconfig menuconfig ARCH_STI · line 31
Quoted 10 lines
arch/arm/mach-sti/Kconfig +0
-7- default y - help - This enables support for STMicroelectronics Digital Consumer - Electronics family StiH416 parts, primarily targeted at set-top-box - and other digital audio/video applications using Flattened Device - Trees. - config SOC_STIH407 bool "STiH407 STMicroelectronics Consumer Electronics family" default y
Thanks
Patrice