]> git.dujemihanovic.xyz Git - u-boot.git/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)
committerWolfgang Denk <wd@denx.de>
Tue, 29 Nov 2011 14:43:40 +0000 (15:43 +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 */
 /*===================*/