No subject
Thu Jun 25 05:52:11 EDT 2020
,<br>
that special hack was necessary due to Lantiq's pci(e?)-host silicon do=
ing<br>
byteswaps just for 32-bit writes. The only other system that uses the owl-l=
oader<br>
is ath79/ar71xx. This is a big-endian MIPS as well that didn't need the=
swap.<br>
<br>
(That said, I don't remember what was the reason for going with __raw_w=
ritel<br>
rather than "iowrite32" though. At least ath9k is using it for th=
e pci access<br>
just fine everywhere.)<br>
<br>
Anyone fancy checking out lantiq and ath79 devices with a AR92XX without th=
e<br>
swap above and the __raw_writel replaced by iowrite32?<br>
<br>
> > ++<br>
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0__raw_writel(val, mem +=
reg);<br>
> > +=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0usleep_range(100, 120);=
<br>
> > +=C2=A0 =C2=A0} <br>
<br>
Regards,<br>
Christian<br>
<br>
<br>
<br>
_______________________________________________<br>
openwrt-devel mailing list<br>
<a href=3D"mailto:openwrt-devel at lists.openwrt.org" target=3D"_blank">openwr=
t-devel at lists.openwrt.org</a><br>
<a href=3D"https://lists.openwrt.org/mailman/listinfo/openwrt-devel" rel=3D=
"noreferrer" target=3D"_blank">https://lists.openwrt.org/mailman/listinfo/o=
penwrt-devel</a><br>
</blockquote></div>
--000000000000c8af7305996ad5dd--
--===============4317726629986990712==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
--===============4317726629986990712==--
More information about the openwrt-devel
mailing list