[PATCH 3/4] ARM: SAMSUNG: Add support for handling of cpu revision
Kukjin Kim
kgene.kim at samsung.com
Wed Aug 24 07:13:44 EDT 2011
Kukjin Kim wrote:
>
> This patch adds plat-samsung/cpu.c for detecting of cpu id and
> silicon revision.
>
> This patch was originally from Changhwan Youn <chaos.youn at samsung.com>
>
> Acked-by: Changhwan Youn <chaos.youn at samsung.com>
> Cc: Ben Dooks <ben-linux at fluff.org>
> Signed-off-by: Kukjin Kim <kgene.kim at samsung.com>
> ---
(snip)
> +void __init s5p_init_cpu(void __iomem *cpuid_addr)
> +{
> + samsung_cpu_id = __raw_readl(cpuid_addr);
> + samsung_cpu_rev = samsung_cpu_id & 0xF;
Oops, should be 0xFF not 0xF.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list