From: Christian Riesch Date: Sat, 19 Nov 2011 00:45:43 +0000 (+0000) Subject: davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board X-Git-Tag: v2011.12-rc1~106^2~37^2~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f880fe57948907815cccbcbb6cb2f1984254da0d;p=u-boot davinci_sonata: define CONFIG_MACH_TYPE for davinci_sonata board This patch fixes the build breakage for the davinci_sonata board. Signed-off-by: Christian Riesch Cc: Sergey Kubushyn Cc: Sandeep Paulraj --- diff --git a/board/davinci/sonata/sonata.c b/board/davinci/sonata/sonata.c index c194290c09..55110fb278 100644 --- a/board/davinci/sonata/sonata.c +++ b/board/davinci/sonata/sonata.c @@ -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; diff --git a/include/configs/davinci_sonata.h b/include/configs/davinci_sonata.h index 74530e8306..fc4d8eceac 100644 --- a/include/configs/davinci_sonata.h +++ b/include/configs/davinci_sonata.h @@ -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 */ /*===================*/