]> git.sur5r.net Git - u-boot/commitdiff
ARM: sbc35_a9g20: re-add MACH_TYPE_SBC35_A9G20
authorAnatolij Gustschin <agust@denx.de>
Sat, 19 Nov 2011 01:59:12 +0000 (01:59 +0000)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Mon, 19 Dec 2011 16:52:44 +0000 (17:52 +0100)
MACH_TYPE_SBC35_A9G20 was removed from mach-types.h.
Add it to the board config file.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
Acked-by: Simon Glass <sjg@chromium.org>
board/calao/sbc35_a9g20/sbc35_a9g20.c
include/configs/sbc35_a9g20.h

index 4f5cff68ec842dde12b131521c1acf2667226d79..b6c8791f0486fb7d6fe101c9e399ab2e77cea840 100644 (file)
@@ -152,7 +152,6 @@ int board_init(void)
        /* Enable Ctrlc */
        console_init_f();
 
-       gd->bd->bi_arch_number = MACH_TYPE_SBC35_A9G20;
        /* adress of boot parameters */
        gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
 
index 1e355a8810038fafe35f16be6662317264ddb9f5..cdf8659093dfb5ea81ae12a0a59cc7731b4648d7 100644 (file)
@@ -36,6 +36,9 @@
 #define CONFIG_ENV_IS_IN_EEPROM
 #endif
 
+#define MACH_TYPE_SBC35_A9G20          1848
+#define CONFIG_MACH_TYPE               MACH_TYPE_SBC35_A9G20
+
 /* ARM asynchronous clock */
 #define CONFIG_SYS_AT91_SLOW_CLOCK     32768           /* slow clock xtal */
 #define CONFIG_SYS_AT91_MAIN_CLOCK     12000000        /* 12.000 MHz crystal */