arm: jadecpu: Readd MACH_TYPE_JADECPU
authorMatthias Weisser <weisserm@arcor.de>
Sat, 5 Nov 2011 02:15:44 +0000 (02:15 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 5 Nov 2011 12:36:31 +0000 (13:36 +0100)
MACH_TYPE_JADECPU was removed from mach-types.h. Add it to board
config file.

Signed-off-by: Matthias Weisser <weisserm@arcor.de>
board/syteco/jadecpu/jadecpu.c
include/configs/jadecpu.h

index 63a0d334461877590573fee6e2de239bb35b3213..72288fe4e810627453528d6818ca32999f1696b8 100644 (file)
@@ -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();
index a239efce2e765fd183491d496107a63002157c3c..f72ee02abfa70d5e4e6f4d7cfb0bce8c1bf490f0 100644 (file)
 #define CONFIG_USE_ARCH_MEMCPY
 #define CONFIG_USE_ARCH_MEMSET
 
+#define MACH_TYPE_JADECPU      2636
+
+#define CONFIG_MACH_TYPE MACH_TYPE_JADECPU
+
 /*
  * Environment settings
  */