diff options
author | Greg Ungerer <gerg@linux-m68k.org> | 2018-03-23 23:39:10 +1000 |
---|---|---|
committer | Greg Ungerer <gerg@linux-m68k.org> | 2018-05-28 09:45:25 +1000 |
commit | d97cf70af09721ef416c61faa44543e3b84c9a55 (patch) | |
tree | e3b17e9594e9dc808552d9a18106b169ddcd200b /LICENSES/other | |
parent | f8f3304856cdf67414ba2c1a3d2adf78974a3d6a (diff) | |
download | talos-obmc-linux-d97cf70af09721ef416c61faa44543e3b84c9a55.tar.gz talos-obmc-linux-d97cf70af09721ef416c61faa44543e3b84c9a55.zip |
m68k: use asm-generic/io.h for non-MMU io access functions
There is nothing really special about the non-MMU m68k IO access functions.
So we can easily switch to using the asm-generic/io.h functions.
The only thing we do need to handle is that historically the m68k IO access
functions for readw/readl/writew/writel use native CPU endian ordering. So
for us on m68k/ColdFire that means they are big-endian. Leave the existing
set of _raw_read/__raw_write and read/write macros in place to deal with
them. (They are ripe for later cleanup, but that is for another patch).
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Reviewed-by: Angelo Dureghello <angelo@sysam.it>
Tested-by: Angelo Dureghello <angelo@sysam.it>
Diffstat (limited to 'LICENSES/other')
0 files changed, 0 insertions, 0 deletions