csky: Select intc & timer drivers
authorGuo Ren <ren_guo@c-sky.com>
Fri, 10 May 2019 04:57:27 +0000 (12:57 +0800)
committerGuo Ren <ren_guo@c-sky.com>
Fri, 19 Jul 2019 06:21:36 +0000 (14:21 +0800)
Let arch help to select interrupt controller's and timer's drivers
instead of people using menuconfig to select. This help the mini system
boot up.

Signed-off-by: Guo Ren <ren_guo@c-sky.com>
Cc: Arnd Bergmann <arnd@arndb.de>
arch/csky/Kconfig

index cf798a1..3973847 100644 (file)
@@ -10,6 +10,9 @@ config CSKY
        select COMMON_CLK
        select CLKSRC_MMIO
        select CLKSRC_OF
+       select CSKY_MPINTC if CPU_CK860
+       select CSKY_MP_TIMER if CPU_CK860
+       select CSKY_APB_INTC
        select DMA_DIRECT_REMAP
        select IRQ_DOMAIN
        select HANDLE_DOMAIN_IRQ
@@ -30,6 +33,7 @@ config CSKY
        select GENERIC_IRQ_MULTI_HANDLER
        select GENERIC_SCHED_CLOCK
        select GENERIC_SMP_IDLE_THREAD
+       select GX6605S_TIMER if CPU_CK610
        select HAVE_ARCH_TRACEHOOK
        select HAVE_ARCH_AUDITSYSCALL
        select HAVE_DYNAMIC_FTRACE