diff options
| author | Christian Riesch <[email protected]> | 2011-11-19 00:45:42 +0000 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2011-11-27 19:45:19 +0100 |
| commit | ece91e30265764fe4edd61d8c1852d2248e566be (patch) | |
| tree | 22933da302e3ade79fbc3830fe79032beb643ecd | |
| parent | 641483af40915dabdfe7764bb22d7e5103cb636b (diff) | |
davinci_schmoogie: define CONFIG_MACH_TYPE for davinci_schmoogie board
This patch fixes the build breakage for the davinci_schmoogie board.
Signed-off-by: Christian Riesch <[email protected]>
Cc: Sergey Kubushyn <[email protected]>
Cc: Sandeep Paulraj <[email protected]>
| -rw-r--r-- | board/davinci/schmoogie/schmoogie.c | 3 | ||||
| -rw-r--r-- | include/configs/davinci_schmoogie.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/board/davinci/schmoogie/schmoogie.c b/board/davinci/schmoogie/schmoogie.c index 8b615a9929c..52d00e42060 100644 --- a/board/davinci/schmoogie/schmoogie.c +++ b/board/davinci/schmoogie/schmoogie.c @@ -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; diff --git a/include/configs/davinci_schmoogie.h b/include/configs/davinci_schmoogie.h index 5eaa1988467..f4ddbeacc3b 100644 --- a/include/configs/davinci_schmoogie.h +++ b/include/configs/davinci_schmoogie.h @@ -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 */ /*===================*/ |
