From: stefano babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/4] vision2: Place machine ID into board config
Date: Sat, 24 Sep 2011 08:39:34 +0200 [thread overview]
Message-ID: <4E7D7B26.3040803@denx.de> (raw)
In-Reply-To: <1316782252-29098-3-git-send-email-fabio.estevam@freescale.com>
Am 23/09/2011 14:50, schrieb Fabio Estevam:
> Let common code set the machine ID.
>
> Cc: Stefano Babic <sbabic@denx.de>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> ---
> board/ttcontrol/vision2/vision2.c | 1 -
> include/configs/vision2.h | 2 ++
> 2 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
> index 17a2558..ebca7b6 100644
> --- a/board/ttcontrol/vision2/vision2.c
> +++ b/board/ttcontrol/vision2/vision2.c
> @@ -653,7 +653,6 @@ void lcd_enable(void)
>
> int board_init(void)
> {
> - gd->bd->bi_arch_number = MACH_TYPE_TTC_VISION2; /* board id for linux */
> /* address of boot parameters */
> gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
>
> diff --git a/include/configs/vision2.h b/include/configs/vision2.h
> index b5c7357..16881a9 100644
> --- a/include/configs/vision2.h
> +++ b/include/configs/vision2.h
> @@ -41,6 +41,8 @@
> #define CONFIG_INITRD_TAG
> #define BOARD_LATE_INIT
>
> +#define CONFIG_MACH_TYPE MACH_TYPE_TTC_VISION2
> +
> /*
> * Size of malloc() pool
> */
Acked-by: Stefano Babic <sbabic@denx.de>
--
=====================================================================
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-24 6:39 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-23 12:50 [U-Boot] [PATCH 1/4] zmx25: Remove dram_init_banksize() Fabio Estevam
2011-09-23 12:50 ` [U-Boot] [PATCH 2/4] zmx25: Place machine ID into board config Fabio Estevam
2011-09-23 12:50 ` [U-Boot] [PATCH 3/4] vision2: " Fabio Estevam
2011-09-23 12:50 ` [U-Boot] [PATCH 4/4] efikamx: " Fabio Estevam
2011-09-23 13:36 ` Marek Vasut
2011-09-23 14:17 ` Stefano Babic
2011-09-24 23:26 ` Marek Vasut
2011-09-25 9:43 ` stefano babic
2011-09-25 10:04 ` Marek Vasut
2011-09-24 6:39 ` stefano babic [this message]
2011-09-25 15:58 ` [U-Boot] [PATCH 1/4] zmx25: Remove dram_init_banksize() 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=4E7D7B26.3040803@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