1
0
Fork 0
alistair23-linux/arch/arm/plat-omap/include/plat
Victor Kamensky 834cacfbef ARM: OMAP: dmtimer: raw read and write endian fix
All OMAP IP blocks expect LE data, but CPU may operate in BE mode.
Need to use endian neutral functions to read/write h/w registers.
I.e instead of __raw_read[lw] and __raw_write[lw] functions code
need to use read[lw]_relaxed and write[lw]_relaxed functions.
If the first simply reads/writes register, the second will byteswap
it if host operates in BE mode.

Changes are trivial sed like replacement of __raw_xxx functions
with xxx_relaxed variant.

Signed-off-by: Victor Kamensky <victor.kamensky@linaro.org>
Signed-off-by: Taras Kondratiuk <taras.kondratiuk@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2014-05-08 07:09:54 -07:00
..
counter-32k.h ARM: OMAP: Remove plat-omap/common.h 2012-10-31 15:37:13 -07:00
cpu.h ARM: OMAP2+: Drop plat/cpu.h for omap2plus 2012-12-17 10:50:41 -08:00
dmtimer.h ARM: OMAP: dmtimer: raw read and write endian fix 2014-05-08 07:09:54 -07:00
i2c.h ARM: OMAP: Fix i2c cmdline initcall for multiplatform 2013-01-11 11:24:19 -08:00
sram.h ARM: OMAP: Introduce common omap_map_sram() and omap_sram_reset() 2012-10-31 10:14:13 -07:00