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 merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1Smrra-0002DP-Pb for barebox@lists.infradead.org; Thu, 05 Jul 2012 19:37:33 +0000 From: Sascha Hauer Date: Thu, 5 Jul 2012 21:36:32 +0200 Message-Id: <1341517020-5581-2-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1341517020-5581-1-git-send-email-s.hauer@pengutronix.de> References: <1341517020-5581-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 02/30] ARM: let armlinux_set_* depend on the correct option To: barebox@lists.infradead.org We need inline versions of armlinux_set* exactly when CONFIG_ARM_LINUX is not set, because this is the symbol used to compile the non inline versions. Signed-off-by: Sascha Hauer --- arch/arm/include/asm/armlinux.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/arm/include/asm/armlinux.h b/arch/arm/include/asm/armlinux.h index 9ca1e4b..8ec8c4d 100644 --- a/arch/arm/include/asm/armlinux.h +++ b/arch/arm/include/asm/armlinux.h @@ -3,8 +3,7 @@ #include -#if defined CONFIG_CMD_BOOTM || defined CONFIG_CMD_BOOTZ || \ - defined CONFIG_CMD_BOOTU +#if defined CONFIG_ARM_LINUX void armlinux_set_bootparams(void *params); void armlinux_set_architecture(int architecture); void armlinux_set_revision(unsigned int); -- 1.7.10 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox