Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73964
b: refs/heads/master
c: ba3bdff
h: refs/heads/master
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Nov 20, 2007
1 parent 2c1ddab commit 925071e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27f49807d79cf44642f98cb7854729836340d98d
refs/heads/master: ba3bdff54bdc4275b4ed68964bbfbcbda003715d
14 changes: 9 additions & 5 deletions trunk/arch/powerpc/platforms/83xx/mpc832x_rdb.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@
*/

#include <linux/pci.h>
#include <linux/interrupt.h>
#include <linux/spi/spi.h>
#include <linux/spi/mmc_spi.h>
#include <linux/mmc/host.h>

#include <asm/of_platform.h>
#include <asm/time.h>
Expand Down Expand Up @@ -46,15 +49,16 @@ static void mpc83xx_spi_deactivate_cs(u8 cs, u8 polarity)
par_io_data_set(3, 13, !polarity);
}

static struct mmc_spi_platform_data mpc832x_mmc_pdata = {
.ocr_mask = MMC_VDD_33_34,
};

static struct spi_board_info mpc832x_spi_boardinfo = {
.bus_num = 0x4c0,
.chip_select = 0,
.max_speed_hz = 50000000,
/*
* XXX: This is spidev (spi in userspace) stub, should
* be replaced by "mmc_spi" when mmc_spi will hit mainline.
*/
.modalias = "spidev",
.modalias = "mmc_spi",
.platform_data = &mpc832x_mmc_pdata,
};

static int __init mpc832x_spi_init(void)
Expand Down

0 comments on commit 925071e

Please sign in to comment.