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.80.1 #2 (Red Hat Linux)) id 1WPwu0-000884-HR for barebox@lists.infradead.org; Tue, 18 Mar 2014 16:30:09 +0000 Received: from dude.hi.pengutronix.de ([10.1.0.7] helo=dude.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1WPwtd-0001mI-9w for barebox@lists.infradead.org; Tue, 18 Mar 2014 17:29:45 +0100 From: Lucas Stach Date: Tue, 18 Mar 2014 17:29:45 +0100 Message-Id: <1395160185-32125-1-git-send-email-l.stach@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" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH] arm: imx53: qsb: set hostname from board file To: barebox@lists.infradead.org Otherwise it won't get set in a multiimage build. Signed-off-by: Lucas Stach --- arch/arm/boards/freescale-mx53-qsb/board.c | 2 ++ arch/arm/boards/freescale-mx53-qsb/env/config-board | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boards/freescale-mx53-qsb/board.c b/arch/arm/boards/freescale-mx53-qsb/board.c index 74826e4a5e43..0553f1c82895 100644 --- a/arch/arm/boards/freescale-mx53-qsb/board.c +++ b/arch/arm/boards/freescale-mx53-qsb/board.c @@ -99,6 +99,7 @@ static int loco_late_init(void) rev = readl(MX53_IIM_BASE_ADDR + 0x878); set_board_rev(rev); printf("MCIMX53-START-R board 1.0 rev %c\n", (rev == 1) ? 'A' : 'B' ); + barebox_set_hostname("loco-r"); armlinux_set_revision(loco_system_rev); /* Set VDDGP to 1.25V for 1GHz on SW1 */ mc13xxx_reg_read(mc34708, MC13892_REG_SW_0, &val); @@ -146,6 +147,7 @@ static int loco_late_init(void) } else { /* so we have a DA9053 based board */ printf("MCIMX53-START board 1.0\n"); + barebox_set_hostname("loco"); armlinux_set_revision(loco_system_rev); return 0; } diff --git a/arch/arm/boards/freescale-mx53-qsb/env/config-board b/arch/arm/boards/freescale-mx53-qsb/env/config-board index a6cf69ddbc7f..e8e8378f53f5 100644 --- a/arch/arm/boards/freescale-mx53-qsb/env/config-board +++ b/arch/arm/boards/freescale-mx53-qsb/env/config-board @@ -3,5 +3,4 @@ # board defaults, do not change in running system. Change /env/config # instead -global.hostname=loco global.linux.bootargs.base="console=ttymxc0,115200" -- 1.9.0 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox