diff options
author | Przemyslaw Marczak <p.marczak@samsung.com> | 2014-09-23 12:46:43 +0200 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-10-08 19:48:43 +0900 |
commit | b219773957d2ee8fedb56f0fcb19288eb72d4867 (patch) | |
tree | 7c1634e0d94a0e8781431ef28137ca4325fa1bfb /board | |
parent | de8f7705aa8f39f2f959299d8d6b290674ab27b3 (diff) | |
download | u-boot-imx-b219773957d2ee8fedb56f0fcb19288eb72d4867.zip u-boot-imx-b219773957d2ee8fedb56f0fcb19288eb72d4867.tar.gz u-boot-imx-b219773957d2ee8fedb56f0fcb19288eb72d4867.tar.bz2 |
odroid: clock: set aclk_cores to 200MHz
This change fixes suspend/resume issue in the kernel caused
by the wrong 'aclk_cores' clock value expected by the kernel.
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
Cc: Minkyu Kang <mk7.kang@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'board')
-rw-r--r-- | board/samsung/odroid/odroid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/samsung/odroid/odroid.c b/board/samsung/odroid/odroid.c index ac19527..5edb250 100644 --- a/board/samsung/odroid/odroid.c +++ b/board/samsung/odroid/odroid.c @@ -158,10 +158,10 @@ static void board_clock_init(void) * For MOUThpm = 1000 MHz (MOUTapll) * doutcopy = MOUThpm / (ratio + 1) = 200 (4) * sclkhpm = doutcopy / (ratio + 1) = 200 (4) - * cores_out = armclk / (ratio + 1) = 1000 (0) + * cores_out = armclk / (ratio + 1) = 200 (4) */ clr = COPY_RATIO(7) | HPM_RATIO(7) | CORES_RATIO(7); - set = COPY_RATIO(4) | HPM_RATIO(4) | CORES_RATIO(0); + set = COPY_RATIO(4) | HPM_RATIO(4) | CORES_RATIO(4); clrsetbits_le32(&clk->div_cpu1, clr, set); |