sun6i: Add clock functions needed for SPL / DRAM init
authorHans de Goede <hdegoede@redhat.com>
Sat, 25 Oct 2014 18:16:33 +0000 (20:16 +0200)
committerHans de Goede <hdegoede@redhat.com>
Thu, 13 Nov 2014 13:49:01 +0000 (14:49 +0100)
commit62c87ef2e988558edbf983c9344ceb9370dbbf02
tree1eed8f441fac50de93d17aa77bf1e6b9cd9b1229
parent5c7f10fda362db16a7bf3e571b4ae1e88fac2466
sun6i: Add clock functions needed for SPL / DRAM init

Add clock_init_safe and clockset_pll5 functions, as these are needed for
SPL support resp. DRAM init (which is needed for SPL too).

Also add some extra clock register constant defines.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
arch/arm/cpu/armv7/sunxi/clock_sun6i.c
arch/arm/include/asm/arch-sunxi/clock.h
arch/arm/include/asm/arch-sunxi/clock_sun6i.h
arch/arm/include/asm/arch-sunxi/prcm.h
include/configs/sun6i.h