openwrtv3/target
Felix Fietkau 6ce848f622 ar8216: decrease page switch wait time
Until a few years ago the page switch wait time was set to msleep(1)
what was changed to usleep_range(1000, 2000) later.

I can not imagine that a low-level operation like switching page
on register level takes so much time.
Most likely the value of 1ms was initially set to check whether
it fixes an issue and then remained w/o further checking whether
also a smaller value would be sufficient.

Now the wait time is set to 5us and I successfully tested this on
AR8327. IMHO 5us should be plenty of time for all supported chips.
However I couldn't test this due to missing hardware.

If other chips should need a longer wait time we can add the
wait time as a parameter to the ar8xxx_chip struct.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>

SVN-Revision: 44103
2015-01-24 19:42:01 +00:00
..
imagebuilder imagebuilder: fail with error if the passed profile name does not exist 2015-01-10 18:19:59 +00:00
linux ar8216: decrease page switch wait time 2015-01-24 19:42:01 +00:00
sdk sdk: track files with git and use it to implement proper clean targets 2015-01-10 11:17:02 +00:00
toolchain target/toolchain/Config.in: Clarify packaging of toolchain. 2014-10-14 12:21:16 +00:00
Config.in aarch64: add initial support 2014-11-24 06:33:13 +00:00
Makefile target: do not make target/*/install depend on target/*/compile - removes one redundant kernel build dir call on target/install 2012-06-06 17:24:05 +00:00