git.openpandora.org
/
pandora-u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2961182
)
Pyra: print bq24297 current limit value
author
H. Nikolaus Schaller
<hns@goldelico.com>
Thu, 7 Apr 2016 17:41:59 +0000
(19:41 +0200)
committer
notaz
<notasas@gmail.com>
Sun, 14 Aug 2016 13:43:32 +0000
(16:43 +0300)
Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com>
board/pandora/pyra+lc15/pyra+lc15.c
patch
|
blob
|
history
diff --git
a/board/pandora/pyra+lc15/pyra+lc15.c
b/board/pandora/pyra+lc15/pyra+lc15.c
index
c6d708a
..
8e569b4
100644
(file)
--- a/
board/pandora/pyra+lc15/pyra+lc15.c
+++ b/
board/pandora/pyra+lc15/pyra+lc15.c
@@
-196,6
+196,7
@@
int board_init(void)
printf("bq24297: could not turn off 40 sec watchdog\n");
/* set bq24297 current limit to 2 A if we operate from no battery and 100 mA if we have */
ilim = bq2429x_battery_present() ? 100 : 2000;
+ printf("bq24297: set current limit to %u mA\n", ilim);
bq2429x_set_iinlim(ilim);
#if defined(CONFIG_TCA642X)