diff options
author | Janusz Krzysztofik <jkrzyszt@tis.icnet.pl> | 2010-12-15 15:43:44 +0100 |
---|---|---|
committer | David Woodhouse <David.Woodhouse@intel.com> | 2011-01-06 16:28:22 +0100 |
commit | eaca491f75af5afa9265a6bdfcbbfff6837634ab (patch) | |
tree | 1dd373ecd237b464cc2ccb252594b84fca5f2ccc /drivers/spi/atmel_spi.c | |
parent | mtd: m25p80: add debugging trace in sst_write (diff) | |
download | linux-eaca491f75af5afa9265a6bdfcbbfff6837634ab.tar.xz linux-eaca491f75af5afa9265a6bdfcbbfff6837634ab.zip |
mtd: nand: ams-delta: drop omap_read/write, use ioremap
There is a common requirement for not using OMAP specific omap_readw() /
omap_writew() function calls in drivers/, but replace them with
readw() / writew() on ioremap()ped addresses passed from arch/ instead.
The patch implements this idea for the Amstrad Delta NAND driver. To be
able to use the modified driver, the board file is updated with the
platform device I/O resource declaration, which is passed from there.
Created and tested against linux-2.6.37-rc5, on top of recent patch
'MTD: NAND: ams-delta: convert to platform driver'.
Signed-off-by: Janusz Krzysztofik <jkrzyszt@tis.icnet.pl>
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/spi/atmel_spi.c')
0 files changed, 0 insertions, 0 deletions