aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/modules.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-03-11 17:08:26 +0000
committerJohn Crispin <john@openwrt.org>2015-03-11 17:08:26 +0000
commit72822d019204c66607626c75f5d78861865750fa (patch)
treed15e48ccc383ce11dbea8491163e5fd2a38350d8 /target/linux/lantiq/modules.mk
parentd77c857509f0ced781c5b27c4dca930c06f9e80c (diff)
downloadupstream-72822d019204c66607626c75f5d78861865750fa.tar.gz
upstream-72822d019204c66607626c75f5d78861865750fa.tar.bz2
upstream-72822d019204c66607626c75f5d78861865750fa.zip
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
Diffstat (limited to 'target/linux/lantiq/modules.mk')
0 files changed, 0 insertions, 0 deletions