From: Sascha Hauer <s.hauer@pengutronix.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: barebox@lists.infradead.org
Subject: Re: [PATCH] arm: imx53: qsb: set hostname from board file
Date: Sun, 23 Mar 2014 09:48:13 +0100 [thread overview]
Message-ID: <20140323084813.GI17250@pengutronix.de> (raw)
In-Reply-To: <1395160185-32125-1-git-send-email-l.stach@pengutronix.de>
On Tue, Mar 18, 2014 at 05:29:45PM +0100, Lucas Stach wrote:
> Otherwise it won't get set in a multiimage build.
>
> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Applied, thanks
Sascha
> ---
> 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
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
prev parent reply other threads:[~2014-03-23 8:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-18 16:29 Lucas Stach
2014-03-23 8:48 ` Sascha Hauer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140323084813.GI17250@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=l.stach@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox