From e9a1837e8638d730ccc9486a8a231ab66eb13553 Mon Sep 17 00:00:00 2001 From: "H. Nikolaus Schaller" Date: Thu, 7 Apr 2016 19:41:59 +0200 Subject: [PATCH] Pyra: print bq24297 current limit value Signed-off-by: H. Nikolaus Schaller --- board/pandora/pyra+lc15/pyra+lc15.c | 1 + 1 file changed, 1 insertion(+) diff --git a/board/pandora/pyra+lc15/pyra+lc15.c b/board/pandora/pyra+lc15/pyra+lc15.c index c6d708a28be..8e569b4ed0c 100644 --- 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) -- 2.39.5