diff options
author | Dirk Behme <dirk.behme@googlemail.com> | 2009-02-20 17:51:28 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-02-22 18:29:10 +0100 |
commit | aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3 (patch) | |
tree | 480f51634cf2e6e8792c981e8ed55ba11985d3f8 /include/asm-arm/arch-omap3/omap3.h | |
parent | cfcdf4a9b361d015c0debac73fbf7c511df4a934 (diff) | |
download | u-boot-imx-aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3.zip u-boot-imx-aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3.tar.gz u-boot-imx-aba45c85b22f8c57fc2fedba8e948e06c2e2f5b3.tar.bz2 |
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.h | 3 |
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 0ddbd66..02e36d7 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 |