[U-Boot-Users] [PATCH] [ads5121] Set ips dividor to 1/4 of csb clock.

Grzegorz Bernacki gjb at semihalf.com
Wed Jan 16 14:11:31 CET 2008


Previous setting cause ips clock to be out of spec. This bug was found by John
Rigby from Freescale.

Signed-off-by: Grzegorz Bernacki <gjb at semihalf.com>

diff --git a/include/mpc512x.h b/include/mpc512x.h
index a06b5c6..d1c6fb2 100644
--- a/include/mpc512x.h
+++ b/include/mpc512x.h
@@ -185,7 +185,7 @@
 
 /* SCFR1 System Clock Frequency Register 1
  */
-#define SCFR1_IPS_DIV			0x2
+#define SCFR1_IPS_DIV			0x4
 #define SCFR1_IPS_DIV_MASK		0x03800000
 #define SCFR1_IPS_DIV_SHIFT		23
 
-- 
1.5.2.2





More information about the U-Boot mailing list