]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] MXC: add cpu_is_ macros
authorSascha Hauer <s.hauer@pengutronix.de>
Fri, 6 Feb 2009 14:38:22 +0000 (15:38 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Fri, 13 Mar 2009 09:34:26 +0000 (10:34 +0100)
commit198016e1b12d781ef00aaafbf571775a8e723f54
treed2d45593f7c5e3ce9a703081e78fd5c6b5c29386
parentc0a5f85523132dc893916d6059370233fac1cb11
[ARM] MXC: add cpu_is_ macros

We had hardcoded cpu_is_ macros for mxc architectures till now. As we
want to run the same kernel on i.MX31 and i.MX35 this patch adds cpu_is_
macros which expand to 0 or 1 if only one architecture is compiled in and
only check for the cpu type if more than one architecture is compiled
in.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/mach-mx3/clock.c
arch/arm/plat-mxc/Makefile
arch/arm/plat-mxc/cpu.c [new file with mode: 0644]
arch/arm/plat-mxc/include/mach/common.h
arch/arm/plat-mxc/include/mach/mx21.h
arch/arm/plat-mxc/include/mach/mx27.h
arch/arm/plat-mxc/include/mach/mxc.h