From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 10/13] mx53loco: Place machine ID into board config
Date: Fri, 23 Sep 2011 10:54:06 +0200 [thread overview]
Message-ID: <4E7C492E.5000208@denx.de> (raw)
In-Reply-To: <1316714842-18271-10-git-send-email-fabio.estevam@freescale.com>
On 09/22/2011 08:07 PM, Fabio Estevam wrote:
> Let common code set the machine ID.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/freescale/mx53loco/mx53loco.c | 1 -
> include/configs/mx53loco.h | 2 ++
> 2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/board/freescale/mx53loco/mx53loco.c b/board/freescale/mx53loco/mx53loco.c
> index ade1006..156f8b5 100644
> --- a/board/freescale/mx53loco/mx53loco.c
> +++ b/board/freescale/mx53loco/mx53loco.c
> @@ -288,7 +288,6 @@ int board_early_init_f(void)
>
> int board_init(void)
> {
> - gd->bd->bi_arch_number = MACH_TYPE_MX53_LOCO;
> gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
>
> return 0;
> diff --git a/include/configs/mx53loco.h b/include/configs/mx53loco.h
> index cfb38a5..4091703 100644
> --- a/include/configs/mx53loco.h
> +++ b/include/configs/mx53loco.h
> @@ -30,6 +30,8 @@
> #define CONFIG_DISPLAY_CPUINFO
> #define CONFIG_DISPLAY_BOARDINFO
>
> +#define CONFIG_MACH_TYPE MACH_TYPE_MX53_LOCO
> +
> #include <asm/arch/imx-regs.h>
>
> #define CONFIG_CMDLINE_TAG
Applied to u-boot-imx, next branch, thanks.
Best regards,
Stefano Babic
--
=====================================================================
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80 Email: office at denx.de
=====================================================================
next prev parent reply other threads:[~2011-09-23 8:54 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-22 18:07 [U-Boot] [PATCH 1/13] mx31pdk: Remove dram_init_banksize() Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 2/13] mx25pdk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 3/13] mx31ads: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 4/13] imx31_litekit: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 6/13] mx25pdk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 7/13] mx31ads: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 9/13] mx51evk: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 10/13] mx53loco: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 11/13] mx53smd: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 12/13] mx53ard: " Fabio Estevam
2011-09-22 18:07 ` [U-Boot] [PATCH 13/13] mx53evk: " Fabio Estevam
2011-09-23 8:31 ` Stefano Babic
2011-09-23 8:37 ` Jason Hui
2011-09-23 8:54 ` Stefano Babic
2011-09-23 8:54 ` [U-Boot] [PATCH 12/13] mx53ard: " Stefano Babic
2011-09-23 8:54 ` [U-Boot] [PATCH 11/13] mx53smd: " Stefano Babic
2011-09-23 8:30 ` [U-Boot] [PATCH 10/13] mx53loco: " Stefano Babic
2011-09-23 8:42 ` Jason Hui
2011-09-23 8:54 ` Stefano Babic [this message]
2011-09-23 8:53 ` [U-Boot] [PATCH 9/13] mx51evk: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 8/13] imx31_litekit: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 7/13] mx31ads: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 6/13] mx25pdk: " Stefano Babic
2011-09-23 8:53 ` [U-Boot] [PATCH 5/13] mx31pdk: " Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 4/13] imx31_litekit: Remove dram_init_banksize() Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 3/13] mx31ads: " Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 2/13] mx25pdk: " Stefano Babic
2011-09-23 8:52 ` [U-Boot] [PATCH 1/13] mx31pdk: " Stefano Babic
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=4E7C492E.5000208@denx.de \
--to=sbabic@denx.de \
--cc=u-boot@lists.denx.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