summaryrefslogtreecommitdiff
path: root/arch/arm/include
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2011-11-29 17:20:22 -0800
committerGerrit <chrome-bot@google.com>2011-12-05 11:55:05 -0800
commit23ef5fa2a6ae8f6c76524fd441a4bcbe385533ca (patch)
tree7bad5e0ee1a8bc910a97f04e4bcfd2b16f609ff3 /arch/arm/include
parent28baa5606172c45730b507f4c6047718f7a85d6b (diff)
tegra: Add a clock rate parameter to clock_early_init()
Since PLLP can be set to two different values, make it a parameter to the function that sets up the PLLs. BUG=chromium-os:23496 TEST=build and boot on Seaboard, T33, Kaen Change-Id: I81ccc1cc3356796793ec2dd4ab22ed7fbd52f01d Reviewed-on: https://gerrit.chromium.org/gerrit/12245 Commit-Ready: Simon Glass <sjg@chromium.org> Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/include')
-rw-r--r--arch/arm/include/asm/arch-tegra/clock.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-tegra/clock.h b/arch/arm/include/asm/arch-tegra/clock.h
index 7cdfe935ab..83abc43158 100644
--- a/arch/arm/include/asm/arch-tegra/clock.h
+++ b/arch/arm/include/asm/arch-tegra/clock.h
@@ -238,7 +238,12 @@ int clock_verify(void);
/* Initialize the clocks */
void clock_init(void);
-/* Initialize the PLLs */
-void clock_early_init(void);
+/**
+ * Initialize the PLLs
+ *
+ * @param pllp_base Base clock for PLLP - should be 408000000 or
+ * 216000000 are supported for the moment.
+ */
+int clock_early_init(ulong pllp_base);
#endif