diff options
author | Tony Lindgren <tony@atomide.com> | 2010-07-05 09:31:40 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2010-07-05 09:31:40 -0400 |
commit | f99bf16d70d8a33e5274e429f2b1d71457d06a06 (patch) | |
tree | f806e4953291e97f75f2b813d695b1b74a231776 /arch/arm/mach-omap2/devices.c | |
parent | 58310acd3ae815687d883c0c0e5950e3576a3dbc (diff) |
omap: mux: Convert 2420 platform init code to use new mux code
Convert 2420 platform init code to use new mux code
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
-rw-r--r-- | arch/arm/mach-omap2/devices.c | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/arch/arm/mach-omap2/devices.c b/arch/arm/mach-omap2/devices.c index 03e6c9ed82a4..3ae9d0a477b6 100644 --- a/arch/arm/mach-omap2/devices.c +++ b/arch/arm/mach-omap2/devices.c | |||
@@ -25,7 +25,6 @@ | |||
25 | #include <plat/control.h> | 25 | #include <plat/control.h> |
26 | #include <plat/tc.h> | 26 | #include <plat/tc.h> |
27 | #include <plat/board.h> | 27 | #include <plat/board.h> |
28 | #include <plat/mux.h> | ||
29 | #include <mach/gpio.h> | 28 | #include <mach/gpio.h> |
30 | #include <plat/mmc.h> | 29 | #include <plat/mmc.h> |
31 | #include <plat/dma.h> | 30 | #include <plat/dma.h> |
@@ -672,19 +671,19 @@ static inline void omap2_mmc_mux(struct omap_mmc_platform_data *mmc_controller, | |||
672 | OMAP_PIN_INPUT_PULLUP); | 671 | OMAP_PIN_INPUT_PULLUP); |
673 | 672 | ||
674 | if (cpu_is_omap2420() && controller_nr == 0) { | 673 | if (cpu_is_omap2420() && controller_nr == 0) { |
675 | omap_cfg_reg(H18_24XX_MMC_CMD); | 674 | omap_mux_init_signal("sdmmc_cmd", 0); |
676 | omap_cfg_reg(H15_24XX_MMC_CLKI); | 675 | omap_mux_init_signal("sdmmc_clki", 0); |
677 | omap_cfg_reg(G19_24XX_MMC_CLKO); | 676 | omap_mux_init_signal("sdmmc_clko", 0); |
678 | omap_cfg_reg(F20_24XX_MMC_DAT0); | 677 | omap_mux_init_signal("sdmmc_dat0", 0); |
679 | omap_cfg_reg(F19_24XX_MMC_DAT_DIR0); | 678 | omap_mux_init_signal("sdmmc_dat_dir0", 0); |
680 | omap_cfg_reg(G18_24XX_MMC_CMD_DIR); | 679 | omap_mux_init_signal("sdmmc_cmd_dir", 0); |
681 | if (mmc_controller->slots[0].wires == 4) { | 680 | if (mmc_controller->slots[0].wires == 4) { |
682 | omap_cfg_reg(H14_24XX_MMC_DAT1); | 681 | omap_mux_init_signal("sdmmc_dat1", 0); |
683 | omap_cfg_reg(E19_24XX_MMC_DAT2); | 682 | omap_mux_init_signal("sdmmc_dat2", 0); |
684 | omap_cfg_reg(D19_24XX_MMC_DAT3); | 683 | omap_mux_init_signal("sdmmc_dat3", 0); |
685 | omap_cfg_reg(E20_24XX_MMC_DAT_DIR1); | 684 | omap_mux_init_signal("sdmmc_dat_dir1", 0); |
686 | omap_cfg_reg(F18_24XX_MMC_DAT_DIR2); | 685 | omap_mux_init_signal("sdmmc_dat_dir2", 0); |
687 | omap_cfg_reg(E18_24XX_MMC_DAT_DIR3); | 686 | omap_mux_init_signal("sdmmc_dat_dir3", 0); |
688 | } | 687 | } |
689 | 688 | ||
690 | /* | 689 | /* |