All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 5/13] mx31pdk: Place machine ID into board config
Date: Fri, 23 Sep 2011 10:53:06 +0200	[thread overview]
Message-ID: <4E7C48F2.7000303@denx.de> (raw)
In-Reply-To: <1316714842-18271-5-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/mx31pdk/mx31pdk.c |    1 -
>  include/configs/mx31pdk.h         |    2 ++
>  2 files changed, 2 insertions(+), 1 deletions(-)
> 
> diff --git a/board/freescale/mx31pdk/mx31pdk.c b/board/freescale/mx31pdk/mx31pdk.c
> index b522cfa..276d451 100644
> --- a/board/freescale/mx31pdk/mx31pdk.c
> +++ b/board/freescale/mx31pdk/mx31pdk.c
> @@ -63,7 +63,6 @@ int board_early_init_f(void)
>  
>  int board_init(void)
>  {
> -	gd->bd->bi_arch_number = MACH_TYPE_MX31_3DS; /* board id for linux */
>  	/* adress of boot parameters */
>  	gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
>  
> diff --git a/include/configs/mx31pdk.h b/include/configs/mx31pdk.h
> index 466dc5d..cd156d8 100644
> --- a/include/configs/mx31pdk.h
> +++ b/include/configs/mx31pdk.h
> @@ -45,6 +45,8 @@
>  #define CONFIG_SETUP_MEMORY_TAGS
>  #define CONFIG_INITRD_TAG
>  
> +#define CONFIG_MACH_TYPE	MACH_TYPE_MX31_3DS
> +
>  #if defined(CONFIG_NAND_U_BOOT) && !defined(CONFIG_NAND_SPL)
>  #define CONFIG_SKIP_LOWLEVEL_INIT
>  #endif

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
=====================================================================

  parent reply	other threads:[~2011-09-23  8:53 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
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         ` Stefano Babic [this message]
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=4E7C48F2.7000303@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.