[U-Boot] [PATCH 10/11] arm: ks8695: document bus speed
Yann Vernier
yann.vernier at orsoc.se
Fri Oct 5 14:09:57 CEST 2012
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(-)
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)
--
1.7.10.4
More information about the U-Boot
mailing list