]> git.sur5r.net Git - u-boot/commitdiff
MX25: tx25: Fix building due to missing MACH_TYPE
authorStefano Babic <sbabic@denx.de>
Fri, 28 Oct 2011 08:23:02 +0000 (10:23 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:20 +0000 (22:56 +0100)
Added MACH_TYPE for the tx25 to the configuration file.
The MACH_TYPE is dropped from mach-types.h after last sync
with kernel.

Signed-off-by: Stefano Babic <sbabic@denx.de>
board/karo/tx25/tx25.c
include/configs/tx25.h

index d3d8ea51fd8159b98abee1e27c007d5671474ecc..2a29943733faa159ae95244af379b3305aa1753e 100644 (file)
@@ -140,7 +140,6 @@ int board_init()
        mx25_uart1_init_pins();
 #endif
        /* board id for linux */
-       gd->bd->bi_arch_number = MACH_TYPE_TX25;
        gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
        return 0;
 }
index 8cb57ffc1a24fe6f6195f5d9188be301f8631a1a..f77c546687cee27b4c81d557666c19e53252eaa4 100644 (file)
 /* NAND BOOT is the only boot method */
 #define CONFIG_NAND_U_BOOT
 
+#ifndef MACH_TYPE_TX25
+#define MACH_TYPE_TX25 2177
+#endif
+
+#define CONFIG_MACH_TYPE MACH_TYPE_TX25
+
 #ifdef CONFIG_NAND_SPL
 /* Start copying real U-boot from the second page */
 #define CONFIG_SYS_NAND_U_BOOT_OFFS    0x800