aboutsummaryrefslogtreecommitdiffstats
path: root/include/configs/omap1610h2.h
diff options
context:
space:
mode:
authorIgor Grinberg <grinberg@compulab.co.il>2011-07-03 23:00:21 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2011-09-03 22:40:45 +0200
commit2141e14428924792d5d0f1770d7c03bdc892208c (patch)
tree7e2f143406218a0c4853e03135ba528544434316 /include/configs/omap1610h2.h
parent221a0666db6fd127f0a82d7e036c7709a9094d19 (diff)
downloadu-boot-midas-2141e14428924792d5d0f1770d7c03bdc892208c.tar.gz
u-boot-midas-2141e14428924792d5d0f1770d7c03bdc892208c.tar.bz2
u-boot-midas-2141e14428924792d5d0f1770d7c03bdc892208c.zip
arm: omap: innovator: use common code for machine type
Innovator and H2 boards used machine_is_* macros for setting the machine type. These macros are expanded in compile time and thus leaves unreachable code (though gcc might optimize it). Switch them to use common code for machine type setting. Signed-off-by: Igor Grinberg <grinberg@compulab.co.il>
Diffstat (limited to 'include/configs/omap1610h2.h')
-rw-r--r--include/configs/omap1610h2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/omap1610h2.h b/include/configs/omap1610h2.h
index cb2a07f65a..9fa33172f7 100644
--- a/include/configs/omap1610h2.h
+++ b/include/configs/omap1610h2.h
@@ -34,7 +34,8 @@
#define CONFIG_OMAP 1 /* in a TI OMAP core */
#define CONFIG_OMAP1610 1 /* which is in a 1610 */
#define CONFIG_H2_OMAP1610 1 /* on an H2 Board */
-#define CONFIG_MACH_OMAP_H2 /* Select board mach-type */
+
+#define CONFIG_MACH_TYPE MACH_TYPE_OMAP_H2
/* input clock of PLL */
/* the OMAP1610 H2 has 12MHz input clock */