MX51: vision2: add MACH_TYPE in config file
authorStefano Babic <sbabic@denx.de>
Thu, 27 Oct 2011 12:30:27 +0000 (14:30 +0200)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 3 Nov 2011 21:56:19 +0000 (22:56 +0100)
Add the MACH type to the configuration file. Maybe the board
will be not pushed into linux ML, but it remains compatible
with older kernels.

Signed-off-by: Stefano Babic <sbabic@denx.de>
include/configs/vision2.h

index 2d020ca8303b3589381a963d113504390909cb9d..29ef5411a9074654807583dce96e6f6fa2bd730f 100644 (file)
@@ -41,6 +41,9 @@
 #define CONFIG_INITRD_TAG
 #define CONFIG_BOARD_LATE_INIT
 
+#ifndef MACH_TYPE_TTC_VISION2
+#define MACH_TYPE_TTC_VISION2  2775
+#endif
 #define CONFIG_MACH_TYPE       MACH_TYPE_TTC_VISION2
 
 /*