summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-03-25 12:32:22 +0100
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-18 11:29:14 +0200
commit2cb488bcd625ec6d0820aa69a5b19a6b0567df2d (patch)
tree21c7f0c3194f2413fa9da54ccf9c444dabcfc73d
parent50b265a015b22d5553cba2fe2d3d330a81ee2c73 (diff)
downloadu-boot-2cb488bcd625ec6d0820aa69a5b19a6b0567df2d.tar.gz
u-boot-2cb488bcd625ec6d0820aa69a5b19a6b0567df2d.tar.bz2
u-boot-2cb488bcd625ec6d0820aa69a5b19a6b0567df2d.zip
trats2: enable command battery of interactive charger
This change adds two features on trats2 device: - show battery charge level by displaying battery screen - manually start interactive charger if needed Usage: command: "battery" options: "state" or "charge" Change-Id: Ie000edfc2fb6f2938ddf1e17611fdc5045169830 Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
-rw-r--r--include/configs/trats2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/trats2.h b/include/configs/trats2.h
index 025a13bef5..641ae9642c 100644
--- a/include/configs/trats2.h
+++ b/include/configs/trats2.h
@@ -210,6 +210,7 @@ int get_soft_i2c_sda_pin(void);
/* Charge battery with interactive LCD animation */
#define CONFIG_INTERACTIVE_CHARGER
+#define CONFIG_CMD_BATTERY
/* Download menu - Samsung common */
#define CONFIG_LCD_MENU