Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 313135
b: refs/heads/master
c: d807af4
h: refs/heads/master
i:
  313133: 7e38ef3
  313131: 7b3a6a1
  313127: fe9b48d
  313119: da2123d
v: v3
  • Loading branch information
Roland Stigge committed Jun 14, 2012
1 parent 17e3683 commit 61dc7d3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ba225a0ea225902501487a2c9f620c26dce1cee6
refs/heads/master: d807af4793a464f7331f92461a619e5e7ddf9089
31 changes: 31 additions & 0 deletions trunk/arch/arm/mach-lpc32xx/phy3250.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,38 @@ static int __init phy3250_spi_board_register(void)
}
arch_initcall(phy3250_spi_board_register);

static struct pl08x_channel_data pl08x_slave_channels[] = {
{
.bus_id = "nand-slc",
.min_signal = 1, /* SLC NAND Flash */
.max_signal = 1,
.periph_buses = PL08X_AHB1,
},
{
.bus_id = "nand-mlc",
.min_signal = 12, /* MLC NAND Flash */
.max_signal = 12,
.periph_buses = PL08X_AHB1,
},
};

/* NOTE: These will change, according to RMK */
static int pl08x_get_signal(struct pl08x_dma_chan *ch)
{
return ch->cd->min_signal;
}

static void pl08x_put_signal(struct pl08x_dma_chan *ch)
{
}

static struct pl08x_platform_data pl08x_pd = {
.slave_channels = &pl08x_slave_channels[0],
.num_slave_channels = ARRAY_SIZE(pl08x_slave_channels),
.get_signal = pl08x_get_signal,
.put_signal = pl08x_put_signal,
.lli_buses = PL08X_AHB1,
.mem_buses = PL08X_AHB1,
};

static const struct of_dev_auxdata lpc32xx_auxdata_lookup[] __initconst = {
Expand Down

0 comments on commit 61dc7d3

Please sign in to comment.