From: Shawn Guo Date: Fri, 6 Jan 2012 01:11:40 +0000 (+0800) Subject: ARM: mxs: detect SoC by checking CHIPID register X-Git-Tag: v3.4-rc1~88^2~13^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=845da6bf65b1ebff700c1e9a8c17f5df303792c1;p=pandora-kernel.git ARM: mxs: detect SoC by checking CHIPID register Both imx23 and imx28 have CHIPID register at address 0x8001c310, which can be used to identify the SoC. This patch changes cpu_is_xxx and __arch_decomp_setup to use this CHIPID register than machine type to detect the chip between imx23 and imx28, so that we do not need to change these functions whenever a new board/machine gets added. Suggested-by: Wolfram Sang Signed-off-by: Shawn Guo Acked-by: Wolfram Sang --- Reading git-diff-tree failed