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>
This commit is contained in:
Hans de Goede
2014-10-25 20:16:33 +02:00
parent 5c7f10fda3
commit 62c87ef2e9
5 changed files with 106 additions and 1 deletions

View File

@@ -14,6 +14,7 @@
/*
* A31 specific configuration
*/
#define CONFIG_CLK_FULL_SPEED 1008000000
#define CONFIG_SYS_PROMPT "sun6i# "