From: Fabio Estevam Date: Fri, 23 Sep 2011 02:50:51 +0000 (+0000) Subject: vision2: Place machine ID into board config X-Git-Tag: v2011.12-rc1~633 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db545e49b7981b1db574183513e64115503b2693;p=u-boot vision2: Place machine ID into board config Let common code set the machine ID. Cc: Stefano Babic Signed-off-by: Fabio Estevam Acked-by: Stefano Babic --- diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c index 17a25587d6..ebca7b6f36 100644 --- a/board/ttcontrol/vision2/vision2.c +++ b/board/ttcontrol/vision2/vision2.c @@ -653,7 +653,6 @@ void lcd_enable(void) int board_init(void) { - gd->bd->bi_arch_number = MACH_TYPE_TTC_VISION2; /* board id for linux */ /* address of boot parameters */ gd->bd->bi_boot_params = PHYS_SDRAM_1 + 0x100; diff --git a/include/configs/vision2.h b/include/configs/vision2.h index b5c73571b3..d95c0ba444 100644 --- a/include/configs/vision2.h +++ b/include/configs/vision2.h @@ -41,6 +41,8 @@ #define CONFIG_INITRD_TAG #define BOARD_LATE_INIT +#define CONFIG_MACH_TYPE MACH_TYPE_TTC_VISION2 + /* * Size of malloc() pool */