[U-Boot] [PATCH] ARM: dig297: Define MACH_TYPE_OMAP3_CPS for DIG297 board
Luca Ceresoli
luca.ceresoli at comelit.it
Wed Nov 2 10:40:30 CET 2011
This was dropped in the latest mach-types sync (47af6f61bcd9) because it is
not mainlined in Linux.
Signed-off-by: Luca Ceresoli <luca.ceresoli at comelit.it>
Cc: Sandeep Paulraj <s-paulraj at ti.com>
Cc: Albert Aribaud <albert.u.boot at aribaud.net>
Cc: Wolfgang Denk <wd at denx.de>
---
include/configs/dig297.h | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/include/configs/dig297.h b/include/configs/dig297.h
index 3a05c82..e1e308c 100644
--- a/include/configs/dig297.h
+++ b/include/configs/dig297.h
@@ -32,6 +32,13 @@
#ifndef __CONFIG_H
#define __CONFIG_H
+#include <asm/mach-types.h>
+#ifdef MACH_TYPE_OMAP3_CPS
+#error "MACH_TYPE_OMAP3_CPS has been defined properly, please remove this."
+#else
+#define MACH_TYPE_OMAP3_CPS 2751
+#endif
+
/*
* High Level Configuration Options
*/
--
1.7.5.4
More information about the U-Boot
mailing list