summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorInha Song <ideal.song@samsung.com>2015-01-14 11:12:35 +0900
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-18 13:47:41 +0200
commit87d6484d00ecc6579036f184915fcaee52fb4ff0 (patch)
tree3aa46ebb6c90c623aa5b7f9c0e17d5261824b3ed
parent4856730ea9d4be77a1aea48ad4380c7a9eb05015 (diff)
downloadu-boot-87d6484d00ecc6579036f184915fcaee52fb4ff0.tar.gz
u-boot-87d6484d00ecc6579036f184915fcaee52fb4ff0.tar.bz2
u-boot-87d6484d00ecc6579036f184915fcaee52fb4ff0.zip
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 <ideal.song@samsung.com>
-rw-r--r--arch/arm/include/asm/arch-exynos/cpu.h14
1 files changed, 8 insertions, 6 deletions
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)) \