diff options
author | Chander Kashyap <chander.kashyap@linaro.org> | 2013-06-18 11:29:34 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 15:09:32 -0400 |
commit | 191d754f5bfd99d682cd496759f56d97294bfdf0 (patch) | |
tree | 7d570dcf2da8db88408a34e81d7df5afe588f79e /arch/arm/plat-samsung/include | |
parent | 1897d2f32fef9cb5caa9951b2cdc79b05bfb512d (diff) |
ARM: EXYNOS: Add support for EXYNOS5420 SoC
EXYNOS5420 is new SoC in Samsung's Exynos5 SoC series. Add
initial support for this new SoC.
Signed-off-by: Chander Kashyap <chander.kashyap@linaro.org>
Signed-off-by: Thomas Abraham <thomas.abraham@linaro.org>
Reviewed-by: Tomasz Figa <t.figa@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/cpu.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index 989fefe18be6..4fb1f03a10d1 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h | |||
@@ -46,6 +46,7 @@ extern unsigned long samsung_cpu_id; | |||
46 | #define EXYNOS4_CPU_MASK 0xFFFE0000 | 46 | #define EXYNOS4_CPU_MASK 0xFFFE0000 |
47 | 47 | ||
48 | #define EXYNOS5250_SOC_ID 0x43520000 | 48 | #define EXYNOS5250_SOC_ID 0x43520000 |
49 | #define EXYNOS5420_SOC_ID 0xE5420000 | ||
49 | #define EXYNOS5440_SOC_ID 0xE5440000 | 50 | #define EXYNOS5440_SOC_ID 0xE5440000 |
50 | #define EXYNOS5_SOC_MASK 0xFFFFF000 | 51 | #define EXYNOS5_SOC_MASK 0xFFFFF000 |
51 | 52 | ||
@@ -67,6 +68,7 @@ IS_SAMSUNG_CPU(exynos4210, EXYNOS4210_CPU_ID, EXYNOS4_CPU_MASK) | |||
67 | IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) | 68 | IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) |
68 | IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) | 69 | IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) |
69 | IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) | 70 | IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) |
71 | IS_SAMSUNG_CPU(exynos5420, EXYNOS5420_SOC_ID, EXYNOS5_SOC_MASK) | ||
70 | IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) | 72 | IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) |
71 | 73 | ||
72 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ | 74 | #if defined(CONFIG_CPU_S3C2410) || defined(CONFIG_CPU_S3C2412) || \ |
@@ -142,6 +144,12 @@ IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) | |||
142 | # define soc_is_exynos5250() 0 | 144 | # define soc_is_exynos5250() 0 |
143 | #endif | 145 | #endif |
144 | 146 | ||
147 | #if defined(CONFIG_SOC_EXYNOS5420) | ||
148 | # define soc_is_exynos5420() is_samsung_exynos5420() | ||
149 | #else | ||
150 | # define soc_is_exynos5420() 0 | ||
151 | #endif | ||
152 | |||
145 | #if defined(CONFIG_SOC_EXYNOS5440) | 153 | #if defined(CONFIG_SOC_EXYNOS5440) |
146 | # define soc_is_exynos5440() is_samsung_exynos5440() | 154 | # define soc_is_exynos5440() is_samsung_exynos5440() |
147 | #else | 155 | #else |