diff options
author | Tony Lindgren <tony@atomide.com> | 2009-12-12 01:19:16 +0100 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2009-12-12 01:19:16 +0100 |
commit | 5ccf197859d6f6bcf56e85657019503b2d95767a (patch) | |
tree | 85cb5562b550571297cdd347a578ae337eb8f39f /arch/arm/mach-omap2/board-rx51-peripherals.c | |
parent | Merge branch 'for_2_6_33' of git://git.pwsan.com/linux-2.6 into omap-for-linus (diff) | |
parent | omap3: Fix OMAP35XX_REV macros (diff) | |
download | linux-5ccf197859d6f6bcf56e85657019503b2d95767a.tar.xz linux-5ccf197859d6f6bcf56e85657019503b2d95767a.zip |
Merge branch 'for-next' into omap-for-linus
Diffstat (limited to 'arch/arm/mach-omap2/board-rx51-peripherals.c')
-rw-r--r-- | arch/arm/mach-omap2/board-rx51-peripherals.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/board-rx51-peripherals.c b/arch/arm/mach-omap2/board-rx51-peripherals.c index 15ce6514c5fd..bf26ad31f9ba 100644 --- a/arch/arm/mach-omap2/board-rx51-peripherals.c +++ b/arch/arm/mach-omap2/board-rx51-peripherals.c @@ -33,6 +33,7 @@ #include <plat/onenand.h> #include <plat/gpmc-smc91x.h> +#include "mux.h" #include "mmc-twl4030.h" #define SYSTEM_REV_B_USES_VAUX3 0x1699 @@ -59,7 +60,7 @@ static struct spi_board_info rx51_peripherals_spi_board_info[] __initdata = { .bus_num = 4, .chip_select = 0, .max_speed_hz = 48000000, - .mode = SPI_MODE_2, + .mode = SPI_MODE_3, .controller_data = &wl1251_mcspi_config, .platform_data = &wl1251_pdata, }, @@ -630,9 +631,9 @@ static struct omap_smc91x_platform_data board_smc91x_data = { static void __init board_smc91x_init(void) { - omap_cfg_reg(U8_34XX_GPIO54_DOWN); - omap_cfg_reg(G25_34XX_GPIO86_OUT); - omap_cfg_reg(H19_34XX_GPIO164_OUT); + omap_mux_init_gpio(54, OMAP_PIN_INPUT_PULLDOWN); + omap_mux_init_gpio(86, OMAP_PIN_OUTPUT); + omap_mux_init_gpio(164, OMAP_PIN_OUTPUT); gpmc_smc91x_init(&board_smc91x_data); } |