Commit 723c9c7e1674468975494e728d2cb78947809163
Committed by
Kukjin Kim
1 parent
6457158acc
ARM: EXYNOS: Add support for EXYNOS5410 SoC
EXYNOS5410 is SoC in Samsung's Exynos5 SoC series. Add initial support for this SoC. Signed-off-by: Tarek Dakhran <t.dakhran@samsung.com> Signed-off-by: Vyacheslav Tyrtov <v.tyrtov@samsung.com> Reviewed-by: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Showing 2 changed files with 15 additions and 2 deletions Side-by-side Diff
arch/arm/mach-exynos/Kconfig
arch/arm/mach-exynos/common.h
... | ... | @@ -24,6 +24,7 @@ |
24 | 24 | #define EXYNOS4_CPU_MASK 0xFFFE0000 |
25 | 25 | |
26 | 26 | #define EXYNOS5250_SOC_ID 0x43520000 |
27 | +#define EXYNOS5410_SOC_ID 0xE5410000 | |
27 | 28 | #define EXYNOS5420_SOC_ID 0xE5420000 |
28 | 29 | #define EXYNOS5440_SOC_ID 0xE5440000 |
29 | 30 | #define EXYNOS5800_SOC_ID 0xE5422000 |
... | ... | @@ -42,6 +43,7 @@ |
42 | 43 | IS_SAMSUNG_CPU(exynos4212, EXYNOS4212_CPU_ID, EXYNOS4_CPU_MASK) |
43 | 44 | IS_SAMSUNG_CPU(exynos4412, EXYNOS4412_CPU_ID, EXYNOS4_CPU_MASK) |
44 | 45 | IS_SAMSUNG_CPU(exynos5250, EXYNOS5250_SOC_ID, EXYNOS5_SOC_MASK) |
46 | +IS_SAMSUNG_CPU(exynos5410, EXYNOS5410_SOC_ID, EXYNOS5_SOC_MASK) | |
45 | 47 | IS_SAMSUNG_CPU(exynos5420, EXYNOS5420_SOC_ID, EXYNOS5_SOC_MASK) |
46 | 48 | IS_SAMSUNG_CPU(exynos5440, EXYNOS5440_SOC_ID, EXYNOS5_SOC_MASK) |
47 | 49 | IS_SAMSUNG_CPU(exynos5800, EXYNOS5800_SOC_ID, EXYNOS5_SOC_MASK) |
... | ... | @@ -80,6 +82,12 @@ |
80 | 82 | # define soc_is_exynos5250() 0 |
81 | 83 | #endif |
82 | 84 | |
85 | +#if defined(CONFIG_SOC_EXYNOS5410) | |
86 | +# define soc_is_exynos5410() is_samsung_exynos5410() | |
87 | +#else | |
88 | +# define soc_is_exynos5410() 0 | |
89 | +#endif | |
90 | + | |
83 | 91 | #if defined(CONFIG_SOC_EXYNOS5420) |
84 | 92 | # define soc_is_exynos5420() is_samsung_exynos5420() |
85 | 93 | #else |
... | ... | @@ -100,8 +108,8 @@ |
100 | 108 | |
101 | 109 | #define soc_is_exynos4() (soc_is_exynos4210() || soc_is_exynos4212() || \ |
102 | 110 | soc_is_exynos4412()) |
103 | -#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5420() || \ | |
104 | - soc_is_exynos5800()) | |
111 | +#define soc_is_exynos5() (soc_is_exynos5250() || soc_is_exynos5410() || \ | |
112 | + soc_is_exynos5420() || soc_is_exynos5800()) | |
105 | 113 | |
106 | 114 | void mct_init(void __iomem *base, int irq_g0, int irq_l0, int irq_l1); |
107 | 115 |