summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Weisser <weisserm@arcor.de>2011-11-05 02:15:44 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-11-05 13:36:31 +0100
commitb2a7badb5ab13cd26539d401ff638d3f47675b04 (patch)
treeaf5e705e47b3a7b0e96696deddfd6bf78653cd00
parentb2f2648d89cd295b328beac2eac91d81ba626291 (diff)
downloadu-boot-imx-b2a7badb5ab13cd26539d401ff638d3f47675b04.zip
u-boot-imx-b2a7badb5ab13cd26539d401ff638d3f47675b04.tar.gz
u-boot-imx-b2a7badb5ab13cd26539d401ff638d3f47675b04.tar.bz2
arm: jadecpu: Readd MACH_TYPE_JADECPU
MACH_TYPE_JADECPU was removed from mach-types.h. Add it to board config file. Signed-off-by: Matthias Weisser <weisserm@arcor.de>
-rw-r--r--board/syteco/jadecpu/jadecpu.c1
-rw-r--r--include/configs/jadecpu.h4
2 files changed, 4 insertions, 1 deletions
diff --git a/board/syteco/jadecpu/jadecpu.c b/board/syteco/jadecpu/jadecpu.c
index 63a0d33..72288fe 100644
--- a/board/syteco/jadecpu/jadecpu.c
+++ b/board/syteco/jadecpu/jadecpu.c
@@ -40,7 +40,6 @@ int board_init(void)
writel(0x00000010, &ccnt->cmux_md);
gd->flags = 0;
- gd->bd->bi_arch_number = MACH_TYPE_JADECPU;
gd->bd->bi_boot_params = PHYS_SDRAM + PHYS_SDRAM_SIZE - 0x10000;
icache_enable();
diff --git a/include/configs/jadecpu.h b/include/configs/jadecpu.h
index a239efc..f72ee02 100644
--- a/include/configs/jadecpu.h
+++ b/include/configs/jadecpu.h
@@ -37,6 +37,10 @@
#define CONFIG_USE_ARCH_MEMCPY
#define CONFIG_USE_ARCH_MEMSET
+#define MACH_TYPE_JADECPU 2636
+
+#define CONFIG_MACH_TYPE MACH_TYPE_JADECPU
+
/*
* Environment settings
*/