summaryrefslogtreecommitdiff
path: root/arch/arm/mach-exynos/pinmux.c
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2015-10-27 13:07:57 +0100
committerMinkyu Kang <mk7.kang@samsung.com>2015-11-02 10:37:59 +0900
commitd64c8adedc6df41165ca08973a0057645ef72139 (patch)
tree61e0a3adf2eaf65a4f7d10f02cd53848fe270bd5 /arch/arm/mach-exynos/pinmux.c
parent3b72b60099b87dedcc49cd6881d311515f23ac14 (diff)
Exynos5422/5800: set cpu id to 0x5422
The proper CPU ID for those Exynos variants is 0x5422, but before the 0x5800 was set. This commit fix this back. Changes: - set cpu id to 0x5422 instead of 0x5800 - remove macro proid_is_exynos5800() - add macro proid_is_exynos5422() - change the calls to proid_is_exynos5800() with new macro Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Cc: Simon Glass <sjg@chromium.org> Tested-by: Anand Moon <linux.amoon@gmail.com> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/mach-exynos/pinmux.c')
-rw-r--r--arch/arm/mach-exynos/pinmux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-exynos/pinmux.c b/arch/arm/mach-exynos/pinmux.c
index 179b29449e..a556e4afc7 100644
--- a/arch/arm/mach-exynos/pinmux.c
+++ b/arch/arm/mach-exynos/pinmux.c
@@ -858,7 +858,7 @@ static int exynos4x12_pinmux_config(int peripheral, int flags)
int exynos_pinmux_config(int peripheral, int flags)
{
if (cpu_is_exynos5()) {
- if (proid_is_exynos5420() || proid_is_exynos5800())
+ if (proid_is_exynos5420() || proid_is_exynos5422())
return exynos5420_pinmux_config(peripheral, flags);
else if (proid_is_exynos5250())
return exynos5_pinmux_config(peripheral, flags);