diff options
author | Hans de Goede <hdegoede@redhat.com> | 2014-10-25 20:16:33 +0200 |
---|---|---|
committer | Hans de Goede <hdegoede@redhat.com> | 2014-11-13 14:49:01 +0100 |
commit | 62c87ef2e988558edbf983c9344ceb9370dbbf02 (patch) | |
tree | 1eed8f441fac50de93d17aa77bf1e6b9cd9b1229 /arch/arm/include/asm/arch-sunxi/clock.h | |
parent | 5c7f10fda362db16a7bf3e571b4ae1e88fac2466 (diff) | |
download | u-boot-imx-62c87ef2e988558edbf983c9344ceb9370dbbf02.zip u-boot-imx-62c87ef2e988558edbf983c9344ceb9370dbbf02.tar.gz u-boot-imx-62c87ef2e988558edbf983c9344ceb9370dbbf02.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/include/asm/arch-sunxi/clock.h')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/clock.h b/arch/arm/include/asm/arch-sunxi/clock.h index 42382a8..b40c16b 100644 --- a/arch/arm/include/asm/arch-sunxi/clock.h +++ b/arch/arm/include/asm/arch-sunxi/clock.h @@ -25,6 +25,7 @@ int clock_init(void); int clock_twi_onoff(int port, int state); void clock_set_pll1(unsigned int hz); +void clock_set_pll5(unsigned int hz); unsigned int clock_get_pll5p(void); unsigned int clock_get_pll6(void); void clock_init_safe(void); |