]> Git Repo - J-linux.git/commitdiff
reset: zynqmp: allow building under COMPILE_TEST
authorPhilipp Zabel <[email protected]>
Fri, 21 Jun 2024 15:24:47 +0000 (17:24 +0200)
committerPhilipp Zabel <[email protected]>
Mon, 24 Jun 2024 11:52:45 +0000 (13:52 +0200)
The ZynqMP reset driver can be compiled without ARCH_ZYNQMP being
enabled. Allow it to be built under COMPILE_TEST.

Acked-by: Michal Simek <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Philipp Zabel <[email protected]>
drivers/reset/Kconfig
drivers/reset/Makefile

index 509f70e5c4c06f285dfe46b47c94507a6224fd9a..e59da17ea0b2d6209ca2ce3e13b13f07c969d30b 100644 (file)
@@ -335,6 +335,12 @@ config RESET_ZYNQ
        help
          This enables the reset controller driver for Xilinx Zynq SoCs.
 
+config RESET_ZYNQMP
+       bool "ZYNQMP Reset Driver" if COMPILE_TEST
+       default ARCH_ZYNQMP
+       help
+         This enables the reset controller driver for Xilinx ZynqMP SoCs.
+
 source "drivers/reset/starfive/Kconfig"
 source "drivers/reset/sti/Kconfig"
 source "drivers/reset/hisilicon/Kconfig"
index 47a8148a92f385b78e3702856ae1dbe2c65ddd86..1b814f08fed7014f276fb1d62936a58ce029dd13 100644 (file)
@@ -42,4 +42,4 @@ obj-$(CONFIG_RESET_TN48M_CPLD) += reset-tn48m.o
 obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o
 obj-$(CONFIG_RESET_UNIPHIER_GLUE) += reset-uniphier-glue.o
 obj-$(CONFIG_RESET_ZYNQ) += reset-zynq.o
-obj-$(CONFIG_ARCH_ZYNQMP) += reset-zynqmp.o
+obj-$(CONFIG_RESET_ZYNQMP) += reset-zynqmp.o
This page took 0.057068 seconds and 4 git commands to generate.