summaryrefslogtreecommitdiff
path: root/arch/arm/kernel
diff options
context:
space:
mode:
authorShawn Guo <shawn.guo@linaro.org>2012-01-06 09:11:40 +0800
committerShawn Guo <shawn.guo@linaro.org>2012-01-27 11:47:37 +0800
commit845da6bf65b1ebff700c1e9a8c17f5df303792c1 (patch)
tree6609fb85408765cb22965738b2a5706f8ce4b24d /arch/arm/kernel
parentdcd6c92267155e70a94b3927bce681ce74b80d1f (diff)
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 <w.sang@pengutronix.de> Signed-off-by: Shawn Guo <shawn.guo@linaro.org> Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions