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 1/3] gplugd: use CONFIG_MACH_TYPE instead of MACH_TYPE_SHEEVAD
Date: Sat, 03 Mar 2012 11:15:17 +0100	[thread overview]
Message-ID: <4F51EF35.1060803@denx.de> (raw)
In-Reply-To: <1330636394-25173-1-git-send-email-troy.kisky@boundarydevices.com>

On 01/03/2012 22:13, Troy Kisky wrote:
> mach-type update will rename MACH_TYPE_SHEEVAD to
> MACH_TYPE_GPLUGD
> 
> Signed-off-by: Troy Kisky <troy.kisky@boundarydevices.com>
> ---
>  board/Marvell/gplugd/gplugd.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/board/Marvell/gplugd/gplugd.c b/board/Marvell/gplugd/gplugd.c
> index a697c19..8d9916a 100644
> --- a/board/Marvell/gplugd/gplugd.c
> +++ b/board/Marvell/gplugd/gplugd.c
> @@ -92,7 +92,7 @@ int board_init(void)
>  		(struct armd1apb2_registers *)ARMD1_APBC2_BASE;
>  
>  	/* arch number of Board */
> -	gd->bd->bi_arch_number = MACH_TYPE_SHEEVAD;
> +	gd->bd->bi_arch_number = CONFIG_MACH_TYPE;

You do not need it to add this line. This is already done in common code
when CONFIG_MACH_TYPE is set.

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:[~2012-03-03 10:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-01 21:13 [U-Boot] [PATCH 1/3] gplugd: use CONFIG_MACH_TYPE instead of MACH_TYPE_SHEEVAD Troy Kisky
2012-03-01 21:13 ` [U-Boot] [PATCH 2/3] ventana: define CONFIG_MACH_VENTANA Troy Kisky
2012-03-01 21:30   ` Stephen Warren
     [not found]     ` <4F4FFE7D.7020809@boundarydevices.com>
2012-03-02  1:44       ` Stephen Warren
2012-03-01 21:13 ` [U-Boot] [PATCH 3/3] ARM: Update mach-types Troy Kisky
2012-03-01 21:32   ` Stephen Warren
2012-03-01 21:54   ` Albert ARIBAUD
2012-03-01 22:50     ` Troy Kisky
2012-03-02  7:00       ` Wolfgang Denk
2012-03-02 17:45         ` Stephen Warren
2012-03-02 19:37           ` Troy Kisky
2012-03-02 20:08             ` Stephen Warren
2012-03-02 21:07       ` Troy Kisky
2012-03-03 10:15 ` Stefano Babic [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=4F51EF35.1060803@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.