Exynos5422: Change cpu_id to 0x5422 from 0x5800
authorInha Song <ideal.song@samsung.com>
Wed, 14 Jan 2015 02:12:35 +0000 (11:12 +0900)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 18 May 2015 11:47:41 +0000 (13:47 +0200)
This patch change s5p_cpu_id to 0x5422 from 0x5800.

Exynos 5800 processor is a variation product of Exynos 5422 processor.
So, Exynos 5800 also have 0x422 cpu_id.

Change-Id: Icdcde1c1b5357613bf5efd4cea762290fde4fadb
Signed-off-by: Inha Song <ideal.song@samsung.com>
arch/arm/include/asm/arch-exynos/cpu.h

index e739520..5a7c827 100644 (file)
@@ -233,11 +233,8 @@ static inline void s5p_set_cpu_id(void)
                s5p_cpu_id = 0x5420;
                break;
        case 0x422:
-               /*
-                * Exynos5800 is a variant of Exynos5420
-                * and has product id 0x5422
-                */
-               s5p_cpu_id = 0x5800;
+               /* Exynos5422 */
+               s5p_cpu_id = 0x5422;
                break;
        }
 }
@@ -267,7 +264,12 @@ IS_EXYNOS_TYPE(exynos4210, 0x4210)
 IS_EXYNOS_TYPE(exynos4412, 0x4412)
 IS_EXYNOS_TYPE(exynos5250, 0x5250)
 IS_EXYNOS_TYPE(exynos5420, 0x5420)
-IS_EXYNOS_TYPE(exynos5800, 0x5800)
+IS_EXYNOS_TYPE(exynos5422, 0x5422)
+/*
+ * Exynos5800 is a variant of Exynos5420
+ * and has product id 0x5422
+ */
+IS_EXYNOS_TYPE(exynos5800, 0x5422)
 
 #define SAMSUNG_BASE(device, base)                             \
 static inline unsigned int __attribute__((no_instrument_function)) \