From mboxrd@z Thu Jan 1 00:00:00 1970 From: marek.vasut@gmail.com (Marek Vasut) Date: Wed, 11 Jan 2012 14:08:40 +0100 Subject: [PATCH v2 1/2] ARM: mxs: detect SoC by checking CHIPID register In-Reply-To: <20120111130721.GA20968@S2101-09.ap.freescale.net> References: <1325864366-17995-1-git-send-email-shawn.guo@linaro.org> <201201111154.59344.marek.vasut@gmail.com> <20120111130721.GA20968@S2101-09.ap.freescale.net> Message-ID: <201201111408.40760.marek.vasut@gmail.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org > On Wed, Jan 11, 2012 at 11:54:59AM +0100, Marek Vasut 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 > > > Signed-off-by: Shawn Guo > > > --- > > > > Looks nice, please add my: > > > > Acked-by: Marek Vasut > > Sorry, the patch has been sent to arm-soc. No problem > > > Also please keep me in Cc with mxs patches. > > Ok, will do. Thanks