summaryrefslogtreecommitdiffstats
path: root/include/asm-arm/arch-omap3/omap3.h
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@googlemail.com>2009-02-20 17:51:28 +0100
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-02-22 18:29:10 +0100
commitaba45c85b22f8c57fc2fedba8e948e06c2e2f5b3 (patch)
tree480f51634cf2e6e8792c981e8ed55ba11985d3f8 /include/asm-arm/arch-omap3/omap3.h
parentcfcdf4a9b361d015c0debac73fbf7c511df4a934 (diff)
downloadblackbird-obmc-uboot-aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3.tar.gz
blackbird-obmc-uboot-aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3.zip
OMAP3: Clean up MMC code
Clean up OMAP3 MMC code: * Convert register access to struct & readx/writex style * Replace hardcode values by macros * Remove macro defined twice Signed-off-by: Dirk Behme <dirk.behme@googlemail.com>
Diffstat (limited to 'include/asm-arm/arch-omap3/omap3.h')
-rw-r--r--include/asm-arm/arch-omap3/omap3.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap3/omap3.h b/include/asm-arm/arch-omap3/omap3.h
index 0ddbd660ca..02e36d7e3f 100644
--- a/include/asm-arm/arch-omap3/omap3.h
+++ b/include/asm-arm/arch-omap3/omap3.h
@@ -203,6 +203,8 @@ typedef struct gpio {
#define VAUX2_DEDICATED 0x79
#define VAUX3_DEV_GRP 0x7A
#define VAUX3_DEDICATED 0x7D
+#define VMMC1_DEV_GRP 0x82
+#define VMMC1_DEDICATED 0x85
#define VPLL2_DEV_GRP 0x8E
#define VPLL2_DEDICATED 0x91
#define VDAC_DEV_GRP 0x96
@@ -215,5 +217,6 @@ typedef struct gpio {
#define VAUX3_VSEL_28 0x03
#define VPLL2_VSEL_18 0x05
#define VDAC_VSEL_18 0x03
+#define VMMC1_VSEL_30 0x02
#endif
OpenPOWER on IntegriCloud