From: Inha Song Date: Wed, 14 Jan 2015 02:12:35 +0000 (+0900) Subject: Exynos5422: Change cpu_id to 0x5422 from 0x5800 X-Git-Tag: submit/tizen/20150522.044923~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=87d6484d00ecc6579036f184915fcaee52fb4ff0;p=platform%2Fkernel%2Fu-boot.git Exynos5422: Change cpu_id to 0x5422 from 0x5800 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 --- diff --git a/arch/arm/include/asm/arch-exynos/cpu.h b/arch/arm/include/asm/arch-exynos/cpu.h index e7395201ad..5a7c827cff 100644 --- a/arch/arm/include/asm/arch-exynos/cpu.h +++ b/arch/arm/include/asm/arch-exynos/cpu.h @@ -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)) \