From mboxrd@z Thu Jan 1 00:00:00 1970 From: lauri.hintsala@bluegiga.com (Lauri Hintsala) Date: Fri, 06 Jan 2012 13:26:04 +0200 Subject: [PATCH 0/2] ARM: mxs: use CHIPID hardware to detect SoC In-Reply-To: <1325817712-4573-1-git-send-email-shawn.guo@linaro.org> References: <1325817712-4573-1-git-send-email-shawn.guo@linaro.org> Message-ID: <4F06DA4C.1090606@bluegiga.com> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org I'm not able to test patches until Monday. I'll test these when I'm back to office. Anyway patches looks good for me. Thanks! Lauri On 01/06/2012 04:41 AM, Shawn Guo wrote: > As suggested by Wolfram, the first patch changes cpu_is_xxx and > __arch_decomp_setup to use the 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. > > The second one is a rebase of patch [1] on above patch. > > Regards, > Shawn > > [1] [PATCH v4] ARM: mxs: Add initial support for Bluegiga APX4 Development Kit > > --- > > Lauri Hintsala (1): > ARM: mxs: Add initial support for Bluegiga APX4 Development Kit > > Shawn Guo (1): > ARM: mxs: detect SoC by checking CHIPID register > > arch/arm/mach-mxs/Kconfig | 16 ++ > arch/arm/mach-mxs/Makefile | 1 + > arch/arm/mach-mxs/include/mach/mxs.h | 28 ++-- > arch/arm/mach-mxs/include/mach/uncompress.h | 11 +- > arch/arm/mach-mxs/mach-apx4devkit.c | 245 +++++++++++++++++++++++++++ > 5 files changed, 283 insertions(+), 18 deletions(-)