u-boot-brain/arch
Quentin Schulz c96f598be7 sunxi: clk: fix N formula for CPUX clocks
As explained in arch/arm/mach-sunxi/clock_sun8i_a83t.c, clk for CPU
clusters is computed as clk = 24*n. However, the current formula is clk
= 24*(n-1).

This results in a clock set to a frequency that isn't specified as
possible for CPUs.

Let's use the correct formula.

Fixes: f542948b1e ("sunxi: clk: add basic clocks for A83T")

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Jagan Teki <jagan@openedev.com>
2017-10-25 10:05:05 +02:00
..
arc arc: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
arm sunxi: clk: fix N formula for CPUX clocks 2017-10-25 10:05:05 +02:00
m68k m68k: Use asm-generic/io.h 2017-10-02 21:52:20 -04:00
microblaze microblaze: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
mips mips: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
nds32 nds32: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
nios2 nios2: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
powerpc powerpc: Use asm-generic/io.h 2017-10-02 21:52:23 -04:00
sandbox sandbox: avoid memory leak in os_dirent_ls 2017-10-08 20:41:09 -06:00
sh sh: Use asm-generic/io.h 2017-10-02 21:52:21 -04:00
x86 x86: baytrail: fsp: Move Azalia update codes to board 2017-10-19 11:37:51 +08:00
xtensa xtensa: Use asm-generic/io.h 2017-10-02 21:52:22 -04:00
.gitignore
Kconfig usb: net: migrate USB Ethernet adapters to Kconfig 2017-09-08 10:23:00 -04:00