ARM: 8306/1: loop_udelay: remove bogomips value limitation
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 25 Feb 2015 21:50:39 +0000 (22:50 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Wed, 22 Jun 2016 18:55:12 +0000 (19:55 +0100)
commit215e362dafede7cc691d8a573d2b31bc7138a770
tree0d74459f20b700a50e6f3e637d5f8a017e3aecfd
parent2374b063c3dfbb68a40b52067eaff81510f384b1
ARM: 8306/1: loop_udelay: remove bogomips value limitation

Now that we don't support ARMv3 anymore, the loop based delay code can
convert microsecs into number of loops using a 64-bit multiplication
and more precision.

This allows us to lift the hard limit of 3355 on the bogomips value as
loops_per_jiffy may now safely span the full 32-bit range.

Signed-off-by: Nicolas Pitre <nico@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/include/asm/delay.h
arch/arm/lib/Makefile
arch/arm/lib/delay-loop.S