From f05e8713007fa61f20dfa39a5176f8d5427cd673 Mon Sep 17 00:00:00 2001 From: David Hendricks Date: Tue, 6 Aug 2013 15:17:37 -0700 Subject: exynos5xxx: use oscillator clock when changing ARM frequency Switch ARM clock source when changing the APLL frequency to avoid stability issues. This is ported from https://gerrit.chromium.org/gerrit/#/c/64189/5 Signed-off-by: David Hendricks Change-Id: I923107555e6d3287b3694cbf9e4bb548d3e5f4a8 Reviewed-on: https://gerrit.chromium.org/gerrit/64838 Reviewed-by: David Hendricks Tested-by: David Hendricks Commit-Queue: David Hendricks Reviewed-on: http://review.coreboot.org/4442 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/cpu/samsung/exynos5420/setup.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/cpu/samsung/exynos5420/setup.h') diff --git a/src/cpu/samsung/exynos5420/setup.h b/src/cpu/samsung/exynos5420/setup.h index e89ed8eee4..c2f69d23b8 100644 --- a/src/cpu/samsung/exynos5420/setup.h +++ b/src/cpu/samsung/exynos5420/setup.h @@ -45,6 +45,9 @@ struct exynos5_phy_control; #define TZPC8_BASE 0x10180000 #define TZPC9_BASE 0x10190000 +#define APLL_FOUT (1 << 0) +#define KPLL_FOUT (1 << 0) + /* APLL_CON1 */ #define APLL_CON1_VAL (0x0020f300) -- cgit v1.2.3