summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorValentin Longchamp <[valentin.longchamp@keymile.com]>2011-11-01 17:26:36 +0530
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-03 22:56:22 +0100
commit8620ca2a1f42e33da93d7115c0cf8a9ea4846b64 (patch)
tree4eaa42612fd5116f39fc17213e492c9dd5841cb7 /board
parentc841c12c7a0ebf99987b424cf03d114c3c81b6b3 (diff)
downloadu-boot-imx-8620ca2a1f42e33da93d7115c0cf8a9ea4846b64.zip
u-boot-imx-8620ca2a1f42e33da93d7115c0cf8a9ea4846b64.tar.gz
u-boot-imx-8620ca2a1f42e33da93d7115c0cf8a9ea4846b64.tar.bz2
ARM: Reintroduce MACH_TYPE_KM_KIRKWOOD for keymile ARM boards
We got dropped from Linux mach-types.h because of a lack of mainline support and this is needed since the last Linux/u-boot mach-types synchro. This patch also defines CONFIG_MACH_TYPE for all keymile boards, as this is a mandatory CONFIG for ARM boards now. The initialization of gd->bd->bi_arch_number is removed form km_arm.c, our board file. Signed-off-by: Valentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: Holger Brunck <holger.brunck@keymile.com> Signed-off-by: Prafulla Wadaskar <prafulla@marvell.com>
Diffstat (limited to 'board')
-rw-r--r--board/keymile/km_arm/km_arm.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c
index 6e32249..4a4e1d0 100644
--- a/board/keymile/km_arm/km_arm.c
+++ b/board/keymile/km_arm/km_arm.c
@@ -273,11 +273,6 @@ int board_early_init_f(void)
int board_init(void)
{
- /*
- * arch number of board
- */
- gd->bd->bi_arch_number = MACH_TYPE_KM_KIRKWOOD;
-
/* address of boot parameters */
gd->bd->bi_boot_params = kw_sdram_bar(0) + 0x100;