]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
arm: a320evb: define mach-type in board config file
authorYan-Pai Chen <ypchen@faraday-tech.com>
Mon, 7 Nov 2011 19:40:25 +0000 (19:40 +0000)
committerAnatolij Gustschin <agust@denx.de>
Sun, 27 Nov 2011 18:44:49 +0000 (19:44 +0100)
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>
board/faraday/a320evb/a320evb.c
include/configs/a320evb.h

index 2578be4f92c469e6eef4ee5f86ed48580244c908..dfd186ba8a9481ede518b5c84fc52c83f090206d 100644 (file)
@@ -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 */
index 45a7c53f7d90dd6969804526294063647b450ba8..1fafbedc9f87ccf3fbffe93e9d4e34a2523b2c40 100644 (file)
 
 #include <asm/arch/a320.h>
 
+/*
+ * mach-type definition
+ */
+#define MACH_TYPE_FARADAY      758
+#define CONFIG_MACH_TYPE       MACH_TYPE_FARADAY
+
 /*
  * Linux kernel tagged list
  */