]> git.sur5r.net Git - u-boot/commitdiff
davinci_schmoogie: define CONFIG_MACH_TYPE for davinci_schmoogie board
authorChristian Riesch <christian.riesch@omicron.at>
Sat, 19 Nov 2011 00:45:42 +0000 (00:45 +0000)
committerAnatolij Gustschin <agust@denx.de>
Sun, 27 Nov 2011 18:45:19 +0000 (19:45 +0100)
This patch fixes the build breakage for the davinci_schmoogie board.

Signed-off-by: Christian Riesch <christian.riesch@omicron.at>
Cc: Sergey Kubushyn <ksi@koi8.net>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
board/davinci/schmoogie/schmoogie.c
include/configs/davinci_schmoogie.h

index 8b615a9929c4b5b5e94dbf03c36c3cc1cf03adc2..52d00e42060d136c8fbdb0f468850a23f855d4ac 100644 (file)
@@ -33,9 +33,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
-       /* arch number of the board */
-       gd->bd->bi_arch_number = MACH_TYPE_SCHMOOGIE;
-
        /* address of boot parameters */
        gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
 
index 5eaa19884676cf7aad9ac87e90a8db2fc30dfce6..f4ddbeacc3b00038807707f699c6492e15e69aff 100644 (file)
@@ -27,6 +27,9 @@
 #define CONFIG_SYS_NAND_LARGEPAGE
 #define CONFIG_SYS_USE_NAND
 #define CONFIG_DISPLAY_CPUINFO
+#define MACH_TYPE_SCHMOOGIE 1255
+#define CONFIG_MACH_TYPE MACH_TYPE_SCHMOOGIE
+
 /*===================*/
 /* SoC Configuration */
 /*===================*/