diff options
author | Christian Riesch <christian.riesch@omicron.at> | 2011-11-19 00:45:43 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-29 15:43:40 +0100 |
commit | eccb213e9da75a181cd2baac16ab3deda42e2796 (patch) | |
tree | 9faf77aada74f8b5e3aa69729d3c8fe06eed927c | |
parent | 0647508d44075e47543bc48c4b3f6080e3bd8581 (diff) | |
download | u-boot-imx-eccb213e9da75a181cd2baac16ab3deda42e2796.zip u-boot-imx-eccb213e9da75a181cd2baac16ab3deda42e2796.tar.gz u-boot-imx-eccb213e9da75a181cd2baac16ab3deda42e2796.tar.bz2 |
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 <christian.riesch@omicron.at>
Cc: Sergey Kubushyn <ksi@koi8.net>
Cc: Sandeep Paulraj <s-paulraj@ti.com>
-rw-r--r-- | board/davinci/sonata/sonata.c | 3 | ||||
-rw-r--r-- | include/configs/davinci_sonata.h | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/board/davinci/sonata/sonata.c b/board/davinci/sonata/sonata.c index c194290..55110fb 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 74530e8..fc4d8ec 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 */ /*===================*/ |