[U-Boot] [Patch v2 2/2] mpc52xx, digsy_mtc: add trickle charger support for rev5 boards.

Heiko Schocher hs at denx.de
Mon Mar 28 09:24:23 CEST 2011


Signed-off-by: Heiko Schocher <hs at denx.de>

---
changes for v2:
- set CONFIG_SYS_RV3029_TCR to 5k Ohm

 include/configs/digsy_mtc.h |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/include/configs/digsy_mtc.h b/include/configs/digsy_mtc.h
index e7fd0f7..f1613c7 100644
--- a/include/configs/digsy_mtc.h
+++ b/include/configs/digsy_mtc.h
@@ -252,6 +252,8 @@
 #if defined(CONFIG_DIGSY_REV5)
 #define CONFIG_SYS_I2C_RTC_ADDR	0x56
 #define CONFIG_RTC_RV3029
+/* Enable 5k Ohm trickle charge resistor */
+#define CONFIG_SYS_RV3029_TCR	0x20
 #else
 #define CONFIG_RTC_DS1337
 #define CONFIG_SYS_I2C_RTC_ADDR	0x68
-- 
1.7.4



More information about the U-Boot mailing list