openwrt/target/linux/lantiq
John Crispin 72822d0192 lantiq: Use platform endianness when accessing dwc2 registers
This patch switches calls to readl/writel to their
dwc2_readl/dwc2_writel equivalents which preserve platform endianness.

This patch is necessary to access dwc2 registers correctly on big
endian systems such as the mips based SoCs made by Lantiq. Then dwc2
can be used to replace ifx-hcd driver for Lantiq platforms found e.g.
in OpenWrt.

The patch was autogenerated with the following commands:
$EDITOR core.h
sed -i "s/\<readl\>/dwc2_readl/g" *.c hcd.h hw.h
sed -i "s/\<writel\>/dwc2_writel/g" *.c hcd.h hw.h

Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Signed-off-by: Vincent Pelletier <plr.vincent@gmail.com>

SVN-Revision: 44675
2015-03-11 17:08:26 +00:00
..
base-files lantiq: td-w8970: fix failsafe mode 2015-02-09 12:14:48 +00:00
dts lantiq: fix DGN3500 root device 2015-02-13 07:29:17 +00:00
falcon build: unify mips target cflags 2013-09-26 17:53:14 +00:00
files/firmware/lantiq move GPHY FW blobs to non versioned folder 2013-03-14 18:42:21 +00:00
image lantiq: fix VG3503J partition table for newer kernels 2015-02-11 10:17:38 +00:00
patches-3.14 lantiq: disable buffered writes on Intel command set flash 2015-02-14 20:48:32 +00:00
patches-3.18 lantiq: Use platform endianness when accessing dwc2 registers 2015-03-11 17:08:26 +00:00
xrx200 kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
xway kernel: move KERNFS to generic config 2015-03-06 07:56:47 +00:00
base-files.mk lantiq: add runtime generation of /etc/config/network 2011-11-15 18:21:00 +00:00
config-3.14 lantiq: update to 3.14 2014-08-18 13:09:30 +00:00
config-3.18 kernel: move CONFIG_MIPS_O32_FP64_SUPPORT to generic configs 2015-03-01 11:37:15 +00:00
Makefile lantiq: add 3.18 support 2015-02-09 12:13:25 +00:00
modules.mk fix i2c-lantiq module 2012-12-16 10:03:18 +00:00