summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2011-09-23 02:50:51 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-30 22:01:05 +0200
commitdb545e49b7981b1db574183513e64115503b2693 (patch)
tree6d6a449e6999cb2d303a6df5395c8814a9a25ff1
parente6ec1761cd3c88631dd3d4e9e688e9abdf472cc9 (diff)
downloadu-boot-imx-db545e49b7981b1db574183513e64115503b2693.zip
u-boot-imx-db545e49b7981b1db574183513e64115503b2693.tar.gz
u-boot-imx-db545e49b7981b1db574183513e64115503b2693.tar.bz2
vision2: Place machine ID into board config
Let common code set the machine ID. Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Acked-by: Stefano Babic <sbabic@denx.de>
-rw-r--r--board/ttcontrol/vision2/vision2.c1
-rw-r--r--include/configs/vision2.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/board/ttcontrol/vision2/vision2.c b/board/ttcontrol/vision2/vision2.c
index 17a2558..ebca7b6 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 b5c7357..d95c0ba 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
*/