Patchwork [U-Boot,10/11] arm: ks8695: document bus speed

login
register
mail settings
Submitter Yann Vernier
Date Oct. 5, 2012, 12:09 p.m.
Message ID <1349438998-10954-11-git-send-email-yann.vernier@orsoc.se>
Download mbox | patch
Permalink /patch/189470/
State Deferred
Delegated to: Albert ARIBAUD
Headers show

Comments

Yann Vernier - Oct. 5, 2012, 12:09 p.m.
Just use the existing #define instead of magic number.
---
 arch/arm/cpu/arm920t/ks8695/lowlevel_init.S |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S
index 31b028b..ba37c28 100644
--- a/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S
+++ b/arch/arm/cpu/arm920t/ks8695/lowlevel_init.S
@@ -199,8 +199,8 @@  highflash:
 	/*
 	 * set pll to top speed
 	 */
-	ldr	r1, =(KS8695_IO_BASE+KS8695_SYSTEN_BUS_CLOCK)
-	mov	r2, #0
+	ldr	r1, =(KS8695_IO_BASE+KS8695_SYSTEM_BUS_CLOCK)
+	mov	r2, #KS8695_BUS_CLOCK_125MHZ
 	str	r2, [r1]		/* set pll clock to 166MHz */
 
 	ldr	r1, =(KS8695_IO_BASE+KS8695_SWITCH_CTRL0)