From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:6f8:1178:4:290:27ff:fe1d:cc33]) by canuck.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1QmLUB-0007fn-Oz for barebox@lists.infradead.org; Thu, 28 Jul 2011 07:58:29 +0000 From: Sascha Hauer Date: Thu, 28 Jul 2011 09:58:17 +0200 Message-Id: <1311839900-10389-3-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1311839900-10389-1-git-send-email-s.hauer@pengutronix.de> References: <1311839900-10389-1-git-send-email-s.hauer@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: barebox-bounces@lists.infradead.org Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 2/5] ARM i.MX: Add missing cpu_is_mx53() To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/include/mach/generic.h | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/include/mach/generic.h b/arch/arm/mach-imx/include/mach/generic.h index 2926036..8ff04fb 100644 --- a/arch/arm/mach-imx/include/mach/generic.h +++ b/arch/arm/mach-imx/include/mach/generic.h @@ -51,5 +51,11 @@ u64 imx_uid(void); #define cpu_is_mx51() (0) #endif +#ifdef CONFIG_ARCH_IMX53 +#define cpu_is_mx53() (1) +#else +#define cpu_is_mx53() (0) +#endif + #define cpu_is_mx23() (0) #define cpu_is_mx28() (0) -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox