diff options
author | Yan-Pai Chen <ypchen@faraday-tech.com> | 2011-11-07 19:40:25 +0000 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-11-29 15:43:39 +0100 |
commit | 9926fa01f4b393af3976d8655a8ab688c1eda259 (patch) | |
tree | 33852e38086901a2108fa165062aa644a5f42d4f | |
parent | 86623add12c538aa767b83a130eeddf24c853609 (diff) | |
download | u-boot-imx-9926fa01f4b393af3976d8655a8ab688c1eda259.zip u-boot-imx-9926fa01f4b393af3976d8655a8ab688c1eda259.tar.gz u-boot-imx-9926fa01f4b393af3976d8655a8ab688c1eda259.tar.bz2 |
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>
-rw-r--r-- | board/faraday/a320evb/a320evb.c | 1 | ||||
-rw-r--r-- | include/configs/a320evb.h | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/board/faraday/a320evb/a320evb.c b/board/faraday/a320evb/a320evb.c index 2578be4..dfd186b 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 45a7c53..1fafbed 100644 --- a/include/configs/a320evb.h +++ b/include/configs/a320evb.h @@ -25,6 +25,12 @@ #include <asm/arch/a320.h> /* + * mach-type definition + */ +#define MACH_TYPE_FARADAY 758 +#define CONFIG_MACH_TYPE MACH_TYPE_FARADAY + +/* * Linux kernel tagged list */ #define CONFIG_CMDLINE_TAG |