From: Yan-Pai Chen Date: Mon, 7 Nov 2011 19:40:25 +0000 (+0000) Subject: arm: a320evb: define mach-type in board config file X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=641483af40915dabdfe7764bb22d7e5103cb636b;p=project%2Fbcm63xx%2Fu-boot.git 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 Acked-by: Igor Grinberg --- diff --git a/board/faraday/a320evb/a320evb.c b/board/faraday/a320evb/a320evb.c index 2578be4f92..dfd186ba8a 100644 --- a/board/faraday/a320evb/a320evb.c +++ b/board/faraday/a320evb/a320evb.c @@ -31,7 +31,6 @@ DECLARE_GLOBAL_DATA_PTR; int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_FARADAY; gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; ftsmc020_init(); /* initialize Flash */ diff --git a/include/configs/a320evb.h b/include/configs/a320evb.h index 45a7c53f7d..1fafbedc9f 100644 --- a/include/configs/a320evb.h +++ b/include/configs/a320evb.h @@ -24,6 +24,12 @@ #include +/* + * mach-type definition + */ +#define MACH_TYPE_FARADAY 758 +#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY + /* * Linux kernel tagged list */