Haavard Skinnemoen
e3e7d8d4ea
[AVR32] Make I/O access macros work with external devices
...
Fix the I/O access macros so that they work with externally connected
devices accessed in little-endian mode over any bus width:
* Use a set of macros to define I/O port- and memory operations
borrowed from MIPS.
* Allow subarchitecture to specify address- and data-mangling
* Implement at32ap-specific port mangling (with build-time
configurable bus width. Only one bus width at a time supported
for now.)
* Rewrite iowriteN and friends to use write[bwl] and friends
(not the __raw counterparts.)
This has been tested using pata_pcmcia to access a CompactFlash card
connected to the EBI (16-bit bus width.)
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
2007-04-27 13:44:14 +02:00
..
2007-04-27 13:44:14 +02:00
2006-10-04 10:25:05 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-10-25 20:26:33 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:13 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-12-13 09:27:08 -08:00
2007-02-09 15:01:56 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-12-01 14:52:01 -08:00
2006-09-26 08:48:54 -07:00
2007-03-07 10:50:30 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-02-09 15:01:58 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:14 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-10-11 11:14:14 -07:00
2007-02-09 15:01:58 +01:00
2006-09-26 08:48:54 -07:00
2007-03-07 10:50:27 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-12-13 09:05:58 -08:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-02-09 15:01:59 +01:00
2007-04-27 13:44:13 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-12-07 08:39:46 -08:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:13 +02:00
2007-04-27 13:44:13 +02:00
2006-12-08 08:28:56 -08:00
2007-02-11 10:51:26 -08:00
2007-04-27 13:44:12 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-12-04 19:41:15 -08:00
2007-02-09 15:01:56 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-02-16 12:54:44 +01:00
2006-09-26 08:48:54 -07:00