[U-Boot] [PATCH] MX51: vision2: add MACH_TYPE in config file

Stefano Babic sbabic at denx.de
Thu Oct 27 14:34:40 CEST 2011


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 at denx.de>
---
 include/configs/vision2.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/configs/vision2.h b/include/configs/vision2.h
index 5a4cd66..63505cf 100644
--- a/include/configs/vision2.h
+++ b/include/configs/vision2.h
@@ -41,6 +41,9 @@
 #define CONFIG_INITRD_TAG
 #define BOARD_LATE_INIT
 
+#ifndef MACH_TYPE_TTC_VISION2
+#define MACH_TYPE_TTC_VISION2	2775
+#endif
 #define CONFIG_MACH_TYPE	MACH_TYPE_TTC_VISION2
 
 /*
-- 
1.7.1



More information about the U-Boot mailing list