openwrtv3/target/linux/lantiq/patches-3.18
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
..
0001-MIPS-lantiq-add-pcie-driver.patch
0002-MIPS-lantiq-dtb-image-hack.patch
0003-MIPS-lantiq-handle-vmmc-memory-reservation.patch
0004-MIPS-lantiq-add-atm-hack.patch
0005-MIPS-lantiq-add-reset-controller-api-support.patch
0006-MIPS-lantiq-reboot-gphy-on-restart.patch
0007-MIPS-lantiq-add-basic-tffs-driver.patch
0008-MIPS-lantiq-backport-old-timer-code.patch
0009-MIPS-lantiq-command-line-work-around.patch
0010-MIPS-lantiq-export-soc-type.patch
0011-lantiq-add-support-for-xrx200-firmware-depending-on-.patch
0012-pinctrl-lantiq-fix-up-pinmux.patch
0013-MTD-lantiq-xway-fix-invalid-operator.patch
0014-MTD-lantiq-xway-the-latched-command-should-be-persis.patch
0015-MTD-lantiq-xway-remove-endless-loop.patch
0016-MTD-lantiq-xway-add-missing-write_buf-and-read_buf-t.patch
0017-MTD-xway-fix-nand-locking.patch
0018-MTD-nand-lots-of-xrx200-fixes.patch
0020-MTD-lantiq-handle-NO_XIP-on-cfi0001-flash.patch
0022-MTD-m25p80-allow-loading-mtd-name-from-OF.patch lantiq: make m25p80 work again 2015-02-12 11:15:56 +00:00
0023-NET-PHY-adds-driver-for-lantiq-PHY11G.patch
0024-NET-lantiq-adds-PHY11G-firmware-blobs.patch
0025-NET-MIPS-lantiq-adds-xrx200-net.patch
0026-NET-multi-phy-support.patch
0027-NET-add-of_get_mac_address_mtd.patch
0028-NET-lantiq-various-etop-fixes.patch
0030-GPIO-add-named-gpio-exports.patch
0031-I2C-MIPS-lantiq-add-FALC-ON-i2c-bus-master.patch
0032-USB-fix-roothub-for-IFXHCD.patch
0033-SPI-MIPS-lantiq-adds-spi-xway.patch
0034-reset-Fix-compile-when-reset-RESET_CONTROLLER-is-not.patch
0035-owrt-lantiq-wifi-and-ethernet-eeprom-handling.patch
0036-owrt-generic-dtb-image-hack.patch
0037-MIPS-lantiq-move-eiu-init-after-irq_domain-register.patch
0038-MIPS-lantiq-fpi-on-ar9.patch
0039-MIPS-lantiq-initialize-usb-on-boot.patch lantiq: Add usb initialization bits from ltq-hcd to platform init 2015-03-11 17:08:02 +00:00
0040-USB-DWC2-enable-usb-power-gpio.patch lantiq: Configure gpio power output pin when initializing dwc2 usb 2015-03-11 17:08:08 +00:00
0041-USB-DWC2-add-ltq-params.patch lantiq: Add sensible hw-defaults for dwc2 2015-03-11 17:08:15 +00:00
0042-USB-DWC2-big-endian-support.patch lantiq: Use platform endianness when accessing dwc2 registers 2015-03-11 17:08:26 +00:00
0101-mtd-split.patch
0150-lantiq-pinctrl-xway.patch
0151-lantiq-ifxmips_pcie-use-of.patch
0160-owrt-lantiq-multiple-flash.patch lantiq: Fix flash for targets with NO_XIP 2015-02-14 20:48:26 +00:00
0300-MTD-cfi-cmdset-0001-disable-buffered-writes.patch lantiq: disable buffered writes on Intel command set flash 2015-02-14 20:48:32 +00:00