]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
reset: Updated the Kconfig file for zynqmp reset-controller
authorNava kishore Manne <nava.manne@xilinx.com>
Fri, 15 Jul 2016 06:12:26 +0000 (11:42 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 15 Jul 2016 06:18:12 +0000 (08:18 +0200)
The zynqmp reset controller needs Power Management API's to complete
the actual task. So this patch updates the Kconfig file with required PM
dependencies to avoid the compilation errors.

Signed-off-by: Nava kishore Manne <navam@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/reset/Kconfig
drivers/reset/Makefile

index df37212a5cbd8eaa7bc39955ca013195128d2330..7b3d48815324930e19c72b08bc01ba62c895d81c 100644 (file)
@@ -12,5 +12,20 @@ menuconfig RESET_CONTROLLER
 
          If unsure, say no.
 
+if RESET_CONTROLLER
+
+config ZYNQMP_RESET_CONTROLLER
+       bool "Xilinx ZYNQMP Reset Controller Support"
+       depends on ZYNQMP_PM_API
+        help
+        ZYNQMP Reset Controller support.
+
+         This framework is designed to abstract reset handling of devices
+         via SoC-internal reset controller modules.
+
+         If sure, say yes.If unsure, say no.
+
+endif
+
 source "drivers/reset/sti/Kconfig"
 source "drivers/reset/hisilicon/Kconfig"
index 710e0fcb429bf46ad4bf3bea48176d689a841371..bc0c9c73179ec520feec4373a1a921da6c35350d 100644 (file)
@@ -7,4 +7,4 @@ obj-$(CONFIG_ARCH_STI) += sti/
 obj-$(CONFIG_ARCH_HISI) += hisilicon/
 obj-$(CONFIG_ARCH_ZYNQ) += reset-zynq.o
 obj-$(CONFIG_ATH79) += reset-ath79.o
-obj-$(CONFIG_ARCH_ZYNQMP) += reset-zynqmp.o
+obj-$(CONFIG_ZYNQMP_RESET_CONTROLLER) += reset-zynqmp.o