pause SMP and fix idle clk gate when change ddr frequence
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-rockchip / Kconfig
1 config ARCH_ROCKCHIP
2         bool "Rockchip SoCs" if ARCH_MULTI_V7
3         select PIE
4         select PINCTRL
5         select PINCTRL_ROCKCHIP
6         select ARCH_REQUIRE_GPIOLIB
7         select ARM_GIC
8         select CACHE_L2X0
9         select HAVE_ARM_SCU if SMP
10         select HAVE_ARM_TWD if LOCAL_TIMERS
11         select HAVE_ARM_ARCH_TIMER
12         select HAVE_SMP
13         select LOCAL_TIMERS if SMP
14         select COMMON_CLK
15         select GENERIC_CLOCKEVENTS
16         select CLKSRC_OF if OF
17         select ARCH_HAS_CPUFREQ
18         select ARCH_HAS_OPP
19         select ARM_AMBA
20         select DMADEVICES
21         select PL330_DMA
22
23 if ARCH_ROCKCHIP
24
25 config RK_LAST_LOG
26         bool "Save the last kernel log on /proc/last_log"
27         depends on DEBUG_KERNEL && PRINTK
28         default y
29         help
30           It is only intended for debugging.
31
32 config RK_DEBUG_UART
33         int "Debug UART"
34         default 2
35         help
36           Select a UART for debugging. -1 disable.
37
38 config RK_USB_UART
39         bool "Support USB UART Bypass Function"
40         depends on (RK_DEBUG_UART = 2) 
41
42 config RK_CONSOLE_THREAD
43         bool "Console write by thread"
44         depends on FIQ_DEBUGGER_CONSOLE
45         default y
46         help
47           Normal kernel printk will write out to UART by "kconsole" kthread
48
49 config BLOCK_RKNAND
50         tristate "RK NAND Device Support"
51         default n
52         help
53           RK NAND Device Support.
54
55 config RK_FPGA
56         bool "FPGA Board"
57
58 config DVFS
59         bool "Enable dvfs"
60         default y
61         select PM_OPP
62         select CPU_FREQ
63
64 config RK_PM_TESTS
65         bool "/sys/pm_tests/ support"
66         default n
67         select DVFS
68         select WATCHDOG
69
70 config DDR_TEST
71         bool "DDR Test"
72         select CRC32
73         default n
74
75 config RK_VPU
76         tristate "VPU (Video Processing Unit) service driver in kernel"
77         depends on ARCH_ROCKCHIP
78         default n
79
80 config RK_VCODEC
81         tristate "VCODEC (VPU HEVC) service driver in kernel"
82         depends on ARCH_ROCKCHIP
83         default y
84
85 config RK_PL330_DMA_TEST
86         bool "pl330 DMA memcpy test"
87 endif