Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

reset: zynq: add driver Kconfig option

Visible only if COMPILE_TEST is enabled, this allows to include the
driver in build tests.

Cc: Moritz Fischer <moritz.fischer@ettus.com>
Cc: Sören Brinkmann <soren.brinkmann@xilinx.com>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>

+7 -1
+6
drivers/reset/Kconfig
··· 86 86 Say Y if you want to control reset signals provided by System Control 87 87 block, Media I/O block, Peripheral Block. 88 88 89 + config RESET_ZYNQ 90 + bool "ZYNQ Reset Driver" if COMPILE_TEST 91 + default ARCH_ZYNQ 92 + help 93 + This enables the reset controller driver for Xilinx Zynq SoCs. 94 + 89 95 source "drivers/reset/sti/Kconfig" 90 96 source "drivers/reset/hisilicon/Kconfig" 91 97
+1 -1
drivers/reset/Makefile
··· 1 1 obj-y += core.o 2 2 obj-$(CONFIG_ARCH_STI) += sti/ 3 3 obj-$(CONFIG_ARCH_HISI) += hisilicon/ 4 - obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o 5 4 obj-$(CONFIG_RESET_ATH79) += reset-ath79.o 6 5 obj-$(CONFIG_RESET_BERLIN) += reset-berlin.o 7 6 obj-$(CONFIG_RESET_LPC18XX) += reset-lpc18xx.o ··· 12 13 obj-$(CONFIG_RESET_SUNXI) += reset-sunxi.o 13 14 obj-$(CONFIG_TI_SYSCON_RESET) += reset-ti-syscon.o 14 15 obj-$(CONFIG_RESET_UNIPHIER) += reset-uniphier.o 16 + obj-$(CONFIG_RESET_ZYNQ) += reset-zynq.o