diff options
author | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-20 05:18:07 +0200 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2011-08-24 12:25:19 +0200 |
commit | e6d1cb9f1fffd7e300af6d8f6731a486d6255e3f (patch) | |
tree | 7247b6f99084bfe78fbf17c5284121aa6ffc5f08 /arch/arm/plat-samsung/include/plat/cpu.h | |
parent | ARM: S5P64X0: Use soc_is_s5p64x0() to distinguish cpu at runtime (diff) | |
download | linux-e6d1cb9f1fffd7e300af6d8f6731a486d6255e3f.tar.xz linux-e6d1cb9f1fffd7e300af6d8f6731a486d6255e3f.zip |
ARM: SAMSUNG: Add support for handling of cpu revision
This patch adds plat-samsung/cpu.c for detecting of cpu id and
silicon revision.
This patch was originally from Changhwan Youn <chaos.youn@samsung.com>
Acked-by: Changhwan Youn <chaos.youn@samsung.com>
Cc: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-samsung/include/plat/cpu.h')
-rw-r--r-- | arch/arm/plat-samsung/include/plat/cpu.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-samsung/include/plat/cpu.h b/arch/arm/plat-samsung/include/plat/cpu.h index bdf43ad3b5ec..c22d110a1965 100644 --- a/arch/arm/plat-samsung/include/plat/cpu.h +++ b/arch/arm/plat-samsung/include/plat/cpu.h @@ -140,6 +140,10 @@ extern void s3c64xx_init_io(struct map_desc *mach_desc, int size); extern void s5p_init_io(struct map_desc *mach_desc, int size, void __iomem *cpuid_addr); +extern void s3c24xx_init_cpu(void); +extern void s3c64xx_init_cpu(void); +extern void s5p_init_cpu(void __iomem *cpuid_addr); + extern void s3c24xx_init_uarts(struct s3c2410_uartcfg *cfg, int no); extern void s3c24xx_init_clocks(int xtal); |