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 bombadil.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1RUdYM-0008H4-RF for barebox@lists.infradead.org; Sun, 27 Nov 2011 12:09:51 +0000 From: Sascha Hauer Date: Sun, 27 Nov 2011 13:09:38 +0100 Message-Id: <1322395780-21916-4-git-send-email-s.hauer@pengutronix.de> In-Reply-To: <1322395780-21916-1-git-send-email-s.hauer@pengutronix.de> References: <1322395780-21916-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 3/5] ARM i.MX boot: Add barebox_loc magicvar To: barebox@lists.infradead.org Signed-off-by: Sascha Hauer --- arch/arm/mach-imx/boot.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/arch/arm/mach-imx/boot.c b/arch/arm/mach-imx/boot.c index f13d956..5e5a8bb 100644 --- a/arch/arm/mach-imx/boot.c +++ b/arch/arm/mach-imx/boot.c @@ -18,6 +18,7 @@ #include #include #include +#include #include #include @@ -88,4 +89,6 @@ static int imx_25_35_boot_save_loc(void) coredevice_initcall(imx_25_35_boot_save_loc); +BAREBOX_MAGIC_VAR(barebox_loc, "The source barebox has been booted from"); + #endif -- 1.7.7.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox