diff options
Diffstat (limited to 'arch/arm/mach-omap2/msdi.c')
-rw-r--r-- | arch/arm/mach-omap2/msdi.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/arch/arm/mach-omap2/msdi.c b/arch/arm/mach-omap2/msdi.c index 9e57b4aadb06..aafdd4ca9f4f 100644 --- a/arch/arm/mach-omap2/msdi.c +++ b/arch/arm/mach-omap2/msdi.c | |||
@@ -25,13 +25,13 @@ | |||
25 | #include <linux/err.h> | 25 | #include <linux/err.h> |
26 | #include <linux/platform_data/gpio-omap.h> | 26 | #include <linux/platform_data/gpio-omap.h> |
27 | 27 | ||
28 | #include <plat/omap_hwmod.h> | 28 | #include "prm.h" |
29 | #include <plat/omap_device.h> | ||
30 | #include <plat/mmc.h> | ||
31 | |||
32 | #include "common.h" | 29 | #include "common.h" |
33 | #include "control.h" | 30 | #include "control.h" |
31 | #include "omap_hwmod.h" | ||
32 | #include "omap_device.h" | ||
34 | #include "mux.h" | 33 | #include "mux.h" |
34 | #include "mmc.h" | ||
35 | 35 | ||
36 | /* | 36 | /* |
37 | * MSDI_CON_OFFSET: offset in bytes of the MSDI IP block's CON register | 37 | * MSDI_CON_OFFSET: offset in bytes of the MSDI IP block's CON register |
@@ -44,9 +44,6 @@ | |||
44 | #define MSDI_CON_CLKD_MASK (0x3f << 0) | 44 | #define MSDI_CON_CLKD_MASK (0x3f << 0) |
45 | #define MSDI_CON_CLKD_SHIFT 0 | 45 | #define MSDI_CON_CLKD_SHIFT 0 |
46 | 46 | ||
47 | /* Maximum microseconds to wait for OMAP module to softreset */ | ||
48 | #define MAX_MODULE_SOFTRESET_WAIT 10000 | ||
49 | |||
50 | /* MSDI_TARGET_RESET_CLKD: clock divisor to use throughout the reset */ | 47 | /* MSDI_TARGET_RESET_CLKD: clock divisor to use throughout the reset */ |
51 | #define MSDI_TARGET_RESET_CLKD 0x3ff | 48 | #define MSDI_TARGET_RESET_CLKD 0x3ff |
52 | 49 | ||