Kconfig 2.6 KB
Newer Older
1
# SPDX-License-Identifier: GPL-2.0
2
#
3
# Copyright (c) 2010-2011 Samsung Electronics Co., Ltd.
4 5
#		http://www.samsung.com/

6
# Configuration options for the EXYNOS
7

8
menuconfig ARCH_EXYNOS
9 10
	bool "Samsung EXYNOS"
	depends on ARCH_MULTI_V7
11
	select ARCH_HAS_HOLES_MEMORYMODEL
12
	select ARCH_SUPPORTS_BIG_ENDIAN
13 14
	select ARM_AMBA
	select ARM_GIC
H
Hyunki Koo 已提交
15
	select EXYNOS_IRQ_COMBINER
16
	select COMMON_CLK_SAMSUNG
17
	select EXYNOS_ASV
18
	select EXYNOS_CHIPID
19
	select EXYNOS_THERMAL
20
	select EXYNOS_PMU
21
	select EXYNOS_SROM
22
	select EXYNOS_PM_DOMAINS if PM_GENERIC_DOMAINS
23
	select GPIOLIB
24
	select HAVE_ARM_ARCH_TIMER if ARCH_EXYNOS5 && VIRTUALIZATION
25 26 27 28 29 30
	select HAVE_ARM_SCU if SMP
	select HAVE_S3C2410_I2C if I2C
	select HAVE_S3C2410_WATCHDOG if WATCHDOG
	select HAVE_S3C_RTC if RTC_CLASS
	select PINCTRL
	select PINCTRL_EXYNOS
31
	select PM_GENERIC_DOMAINS if PM
32
	select S5P_DEV_MFC
33
	select SAMSUNG_MC
34
	select SOC_SAMSUNG
35
	select SRAM
36
	select THERMAL
A
Arnd Bergmann 已提交
37
	select THERMAL_OF
38
	select MFD_SYSCON
39
	select MEMORY
40
	select CLKSRC_EXYNOS_MCT
41 42 43
	select POWER_RESET
	select POWER_RESET_SYSCON
	select POWER_RESET_SYSCON_POWEROFF
44 45 46
	help
	  Support for SAMSUNG EXYNOS SoCs (EXYNOS4/5)

47 48
if ARCH_EXYNOS

49 50 51 52 53
config S5P_DEV_MFC
	bool
	help
	  Compile in setup memory (init) code for MFC

54 55
config ARCH_EXYNOS3
	bool "SAMSUNG EXYNOS3"
56
	default y
57
	select ARM_CPU_SUSPEND if PM
58
	help
59
	  Samsung EXYNOS3 (Cortex-A7) SoC based systems
60

61 62
config ARCH_EXYNOS4
	bool "SAMSUNG EXYNOS4"
63
	default y
64
	select ARM_CPU_SUSPEND if PM_SLEEP
65 66
	select CLKSRC_SAMSUNG_PWM if CPU_EXYNOS4210
	select CPU_EXYNOS4210
67
	select GIC_NON_BANKED
68
	select MIGHT_HAVE_CACHE_L2X0
69
	help
70
	  Samsung EXYNOS4 (Cortex-A9) SoC based systems
71

72 73
config ARCH_EXYNOS5
	bool "SAMSUNG EXYNOS5"
74
	default y
75
	help
76
	  Samsung EXYNOS5 (Cortex-A15/A7) SoC based systems
77 78

comment "EXYNOS SoCs"
79

80 81 82 83 84
config SOC_EXYNOS3250
	bool "SAMSUNG EXYNOS3250"
	default y
	depends on ARCH_EXYNOS3

85
config CPU_EXYNOS4210
86 87 88
	bool "SAMSUNG EXYNOS4210"
	default y
	depends on ARCH_EXYNOS4
89

90
config SOC_EXYNOS4412
91 92 93
	bool "SAMSUNG EXYNOS4412"
	default y
	depends on ARCH_EXYNOS4
94

95 96 97 98 99
config SOC_EXYNOS5250
	bool "SAMSUNG EXYNOS5250"
	default y
	depends on ARCH_EXYNOS5

100 101 102 103 104
config SOC_EXYNOS5260
	bool "SAMSUNG EXYNOS5260"
	default y
	depends on ARCH_EXYNOS5

105 106 107 108
config SOC_EXYNOS5410
	bool "SAMSUNG EXYNOS5410"
	default y
	depends on ARCH_EXYNOS5
109

110 111 112 113
config SOC_EXYNOS5420
	bool "SAMSUNG EXYNOS5420"
	default y
	depends on ARCH_EXYNOS5
114
	select EXYNOS_MCPM if SMP
115 116
	select ARM_CCI400_PORT_CTRL
	select ARM_CPU_SUSPEND
117

A
Arun Kumar K 已提交
118 119 120 121 122
config SOC_EXYNOS5800
	bool "SAMSUNG EXYNOS5800"
	default y
	depends on SOC_EXYNOS5420

123 124 125 126
config EXYNOS_MCPM
	bool
	select MCPM

127 128 129 130 131
config EXYNOS_CPU_SUSPEND
	bool
	select ARM_CPU_SUSPEND
	default PM_SLEEP || ARM_EXYNOS_CPUIDLE

132
endif