summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@comelit.it>2011-11-04 13:42:09 -0400
committerSandeep Paulraj <s-paulraj@ti.com>2011-11-04 13:42:09 -0400
commit30dca9ddadcd428a4b54457f93602306571b03b9 (patch)
treef8713f1d9e9df1ec597499652cca8f567cc89135 /include
parent2c5b87561a4fd43ddf72753d2e8920f2149d7c60 (diff)
downloadu-boot-imx-30dca9ddadcd428a4b54457f93602306571b03b9.zip
u-boot-imx-30dca9ddadcd428a4b54457f93602306571b03b9.tar.gz
u-boot-imx-30dca9ddadcd428a4b54457f93602306571b03b9.tar.bz2
ARM: dig297: Define MACH_TYPE_OMAP3_CPS and CONFIG_MACH_TYPE
MACH_TYPE_OMAP3_CPS was dropped in the latest mach-types sync (47af6f61bcd9) because it is not mainlined in Linux. Signed-off-by: Luca Ceresoli <luca.ceresoli@comelit.it> Cc: Sandeep Paulraj <s-paulraj@ti.com> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Wolfgang Denk <wd@denx.de> CC: Tom Rini <tom.rini@gmail.com> Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/dig297.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/dig297.h b/include/configs/dig297.h
index 3a05c82..9baf415 100644
--- a/include/configs/dig297.h
+++ b/include/configs/dig297.h
@@ -32,6 +32,14 @@
#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
+#define CONFIG_MACH_TYPE MACH_TYPE_OMAP3_CPS
+
/*
* High Level Configuration Options
*/