summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuo Ren <guoren@linux.alibaba.com>2020-01-11 13:44:32 +0800
committerGuo Ren <guoren@linux.alibaba.com>2020-02-21 15:43:24 +0800
commita736fa1ed772e3640e1bfaab36032c5a285d6a7b (patch)
tree7d0e7df49e1e90b1ddaca58781a9fc92700f3d1f
parentc9492737b25ca32679ba3163609d938c9abfd508 (diff)
csky/Kconfig: Add Kconfig.platforms to support some drivers
Such as snps,dw-apb-ictl Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
-rw-r--r--arch/csky/Kconfig2
-rw-r--r--arch/csky/Kconfig.platforms9
2 files changed, 11 insertions, 0 deletions
diff --git a/arch/csky/Kconfig b/arch/csky/Kconfig
index 00ac7bc5558a..1c723cb11cc4 100644
--- a/arch/csky/Kconfig
+++ b/arch/csky/Kconfig
@@ -270,4 +270,6 @@ config HOTPLUG_CPU
Say N if you want to disable CPU hotplug.
endmenu
+source "arch/csky/Kconfig.platforms"
+
source "kernel/Kconfig.hz"
diff --git a/arch/csky/Kconfig.platforms b/arch/csky/Kconfig.platforms
new file mode 100644
index 000000000000..639e17f4eacb
--- /dev/null
+++ b/arch/csky/Kconfig.platforms
@@ -0,0 +1,9 @@
+menu "Platform drivers selection"
+
+config ARCH_CSKY_DW_APB_ICTL
+ bool "Select dw-apb interrupt controller"
+ select DW_APB_ICTL
+ default y
+ help
+ This enables support for snps dw-apb-ictl
+endmenu