[PATCH v2 1/2] ARM: mxs: detect SoC by checking CHIPID register
Wolfram Sang
w.sang at pengutronix.de
Sat Jan 7 17:50:08 EST 2012
On Fri, Jan 06, 2012 at 11:39:25PM +0800, Shawn Guo wrote:
> 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 at pengutronix.de>
> Signed-off-by: Shawn Guo <shawn.guo at linaro.org>
Acked-by: Wolfram Sang <w.sang at pengutronix.de>
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20120107/f7b599b1/attachment-0001.sig>
More information about the linux-arm-kernel
mailing list