]> git.sur5r.net Git - u-boot/commitdiff
davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board
authorChristian Riesch <christian.riesch@omicron.at>
Sat, 19 Nov 2011 00:45:43 +0000 (00:45 +0000)
committerAnatolij Gustschin <agust@denx.de>
Sun, 27 Nov 2011 18:45:27 +0000 (19:45 +0100)
This patch fixes the build breakage for the davinci_sonata 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/sonata/sonata.c
include/configs/davinci_sonata.h

index c194290c09e88ab4125951b7d61a4683f4c23a3d..55110fb278c417688aaf4d409644ac575087f341 100644 (file)
@@ -34,9 +34,6 @@ DECLARE_GLOBAL_DATA_PTR;
 
 int board_init(void)
 {
-       /* arch number of the board */
-       gd->bd->bi_arch_number = MACH_TYPE_SONATA;
-
        /* address of boot parameters */
        gd->bd->bi_boot_params = LINUX_BOOT_PARAM_ADDR;
 
index 74530e8306c2bfe604cae316e61cb2a99710e9e4..fc4d8eceac388eaa8ded2a1595bdf35360fc4642 100644 (file)
@@ -52,6 +52,8 @@
 #define CONFIG_SYS_NAND_SMALLPAGE
 #define CONFIG_SYS_USE_NOR
 #define CONFIG_DISPLAY_CPUINFO
+#define MACH_TYPE_SONATA 1254
+#define CONFIG_MACH_TYPE MACH_TYPE_SONATA
 /*===================*/
 /* SoC Configuration */
 /*===================*/