All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anatolij Gustschin <agust@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE
Date: Sat, 19 Nov 2011 12:59:10 +0100	[thread overview]
Message-ID: <1321703956-4224-4-git-send-email-agust@denx.de> (raw)
In-Reply-To: <1321703956-4224-1-git-send-email-agust@denx.de>

MACH_TYPE_HHP_CRADLE was removed from mach-types.h.
Add it to the board config file.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
---
 board/cradle/cradle.c    |    3 ---
 include/configs/cradle.h |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/board/cradle/cradle.c b/board/cradle/cradle.c
index 2bbf2d5..e9f38f8 100644
--- a/board/cradle/cradle.c
+++ b/board/cradle/cradle.c
@@ -191,9 +191,6 @@ board_init (void)
 
 	led_code (0xf, YELLOW);
 
-	/* arch number of HHP Cradle */
-	gd->bd->bi_arch_number = MACH_TYPE_HHP_CRADLE;
-
 	/* adress of boot parameters */
 	gd->bd->bi_boot_params = 0xa0000100;
 
diff --git a/include/configs/cradle.h b/include/configs/cradle.h
index 25be616..d56deee 100644
--- a/include/configs/cradle.h
+++ b/include/configs/cradle.h
@@ -35,6 +35,9 @@
 #define CONFIG_PXA250           1       /* This is an PXA250 CPU    */
 #define CONFIG_HHP_CRADLE       1       /* on an Cradle Board       */
 
+#define MACH_TYPE_HHP_CRADLE	210
+#define CONFIG_MACH_TYPE	MACH_TYPE_HHP_CRADLE
+
 #undef CONFIG_USE_IRQ                   /* we don't need IRQ/FIQ stuff */
 
 /* we will never enable dcache, because we have to setup MMU first */
-- 
1.7.5.4

  parent reply	other threads:[~2011-11-19 11:59 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-19 11:59 [U-Boot] [PATCH 0/9] Fix build issues for some ARM boards Anatolij Gustschin
2011-11-19 11:59 ` [U-Boot] [PATCH 1/9] ARM: a320evb: re-add MACH_TYPE_FARADAY Anatolij Gustschin
2011-11-19 17:56   ` Simon Glass
2011-11-21 18:46   ` Anatolij Gustschin
2011-11-22  3:18     ` Po-Yu Chuang
2011-11-22  3:45       ` Po-Yu Chuang
2011-11-19 11:59 ` [U-Boot] [PATCH 2/9] ARM: cerf250: re-add MACH_TYPE_PXA_CERF Anatolij Gustschin
2011-11-19 17:56   ` Simon Glass
2011-11-20  0:09     ` Marek Vasut
2011-11-20  0:18       ` Marek Vasut
2011-11-21 16:44         ` Albert ARIBAUD
2011-11-19 11:59 ` Anatolij Gustschin [this message]
2011-11-19 17:57   ` [U-Boot] [PATCH 3/9] ARM: cradle: re-add MACH_TYPE_HHP_CRADLE Simon Glass
2011-11-21 22:28   ` Marek Vasut
2011-11-19 11:59 ` [U-Boot] [PATCH 4/9] ARM: pleb2: re-add MACH_TYPE_PLEB2 Anatolij Gustschin
2011-11-19 17:57   ` Simon Glass
2011-11-21 22:29   ` Marek Vasut
2011-11-19 11:59 ` [U-Boot] [PATCH 5/9] ARM: sbc35_a9g20: re-add MACH_TYPE_SBC35_A9G20 Anatolij Gustschin
2011-11-19 17:58   ` Simon Glass
2011-11-21 18:55   ` Anatolij Gustschin
2011-12-19 10:58   ` Albert ARIBAUD
2011-11-19 11:59 ` [U-Boot] [PATCH 6/9] ARM: tny_a9260: re-add MACH_TYPE_TNY_A9G20 and MACH_TYPE_TNY_A9260 Anatolij Gustschin
2011-11-19 18:00   ` Simon Glass
2011-11-21 18:57   ` Anatolij Gustschin
2011-12-19 10:58   ` Albert ARIBAUD
2011-11-19 11:59 ` [U-Boot] [PATCH 7/9] ARM: xm250: re-add MACH_TYPE_XM250 Anatolij Gustschin
2011-11-19 18:01   ` Simon Glass
2011-11-19 11:59 ` [U-Boot] [PATCH 8/9] ARM: cerf250: fix GCC 4.6 warings Anatolij Gustschin
2011-11-19 18:04   ` Simon Glass
2011-11-19 11:59 ` [U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings Anatolij Gustschin
2011-11-19 18:05   ` Simon Glass
2011-11-21 22:39   ` Marek Vasut
2011-11-21 16:45 ` [U-Boot] [PATCH 0/9] Fix build issues for some ARM boards Albert ARIBAUD
2011-11-21 19:24   ` Anatolij Gustschin

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=1321703956-4224-4-git-send-email-agust@denx.de \
    --to=agust@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.