Commit 20a6a4d7 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Philipp Zabel
Browse files

reset: sti: simplify driver's config and build



With commit 64933513 ("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.

Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
Link: https://lore.kernel.org/r/20230330112347.31137-2-lukas.bulwahn@gmail.com


Signed-off-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
parent da46de51
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
# SPDX-License-Identifier: GPL-2.0-only
if ARCH_STI

config STI_RESET_SYSCFG
	bool

config STIH407_RESET
	bool
	select STI_RESET_SYSCFG

endif
+1 −3
Original line number Diff line number Diff line
# 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