arm: a320evb: define mach-type in board config file

MACH_TYPE_FARADAY was dropped from mach-types.h. Add it back to
board config file.

Signed-off-by: Yan-Pai Chen <ypchen@faraday-tech.com>
Acked-by: Igor Grinberg <grinberg@compulab.co.il>
This commit is contained in:
Yan-Pai Chen 2011-11-07 19:40:25 +00:00 committed by Anatolij Gustschin
parent a67fe5f284
commit 641483af40
2 changed files with 6 additions and 1 deletions

View file

@ -31,7 +31,6 @@ DECLARE_GLOBAL_DATA_PTR;
int board_init(void) int board_init(void)
{ {
gd->bd->bi_arch_number = MACH_TYPE_FARADAY;
gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100;
ftsmc020_init(); /* initialize Flash */ ftsmc020_init(); /* initialize Flash */

View file

@ -24,6 +24,12 @@
#include <asm/arch/a320.h> #include <asm/arch/a320.h>
/*
* mach-type definition
*/
#define MACH_TYPE_FARADAY 758
#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY
/* /*
* Linux kernel tagged list * Linux kernel tagged list
*/ */