aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorGreg Ungerer <[email protected]>2018-03-23 13:39:10 +0000
committerGreg Ungerer <[email protected]>2018-05-27 23:45:25 +0000
commitd97cf70af09721ef416c61faa44543e3b84c9a55 (patch)
treee3b17e9594e9dc808552d9a18106b169ddcd200b /drivers/fpga/fpga-bridge.c
parentm68k: put definition guards around virt_to_phys and phys_to_virt (diff)
downloadkernel-d97cf70af09721ef416c61faa44543e3b84c9a55.tar.gz
kernel-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 <[email protected]> Reviewed-by: Angelo Dureghello <[email protected]> Tested-by: Angelo Dureghello <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions