sunxi: Fix sun5i mbus speed when booting old kernels
authorHans de Goede <hdegoede@redhat.com>
Thu, 19 Feb 2015 13:46:44 +0000 (14:46 +0100)
committerHans de Goede <hdegoede@redhat.com>
Sat, 21 Feb 2015 15:53:37 +0000 (16:53 +0100)
commitf388a26d1132dae7ffe123cd7bd9adf78d4f7b57
tree127de1c00345fab1969b5291b6e19fbaf6f98e89
parent52defe8f65700ad625c3ca63f723564210b2dc82
sunxi: Fix sun5i mbus speed when booting old kernels

Older linux-sunxi-3.4 kernels override our PLL6 setting with 300 MHz,
halving the mbus frequency, so set it to 300 MHz ourselves and base the
mbus divider on that.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/include/asm/arch-sunxi/clock_sun4i.h