ARM: SAMSUNG: Add soc_is_s3c2410() helper
authorTomasz Figa <t.figa@samsung.com>
Mon, 17 Mar 2014 22:28:09 +0000 (07:28 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Thu, 20 Mar 2014 19:04:51 +0000 (04:04 +0900)
commit04241069617d4f0bfd9f4a3aeefae13e1e5b55e1
treee3f49749a44e7e60cfce9b6724a513146b35a21f
parent61557b8bac9c80a5c14d237d420c246703e5c2e2
ARM: SAMSUNG: Add soc_is_s3c2410() helper

Due to the S3C2410 SoC being quite different from other S3C24xx SoCs
in some aspects, such as availability of DIVSLOT register in its UART
blocks, there is a need sometimes to check whether we are running on
this SoC, not just the S3C24xx series. This patch adds soc_is_s3c2410()
helper function for this purpose.

Signed-off-by: Tomasz Figa <t.figa@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/include/plat/cpu.h