[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)
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>

No differences found