diff options
author | Simon Shields <simon@lineageos.org> | 2018-06-15 15:39:24 +1000 |
---|---|---|
committer | Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org> | 2020-03-28 01:14:48 +0100 |
commit | fbfa098a37a3261ea627df4d45575a293be41fef (patch) | |
tree | bf3ac35a82908b83f8b29d4058271e047aa47ac1 /board | |
parent | fafc3578ab24489fc4b85ca830a078cffe7a219e (diff) | |
download | u-boot-midas-fbfa098a37a3261ea627df4d45575a293be41fef.tar.gz u-boot-midas-fbfa098a37a3261ea627df4d45575a293be41fef.tar.bz2 u-boot-midas-fbfa098a37a3261ea627df4d45575a293be41fef.zip |
i9300: default to 460mA charge current
Diffstat (limited to 'board')
-rw-r--r-- | board/samsung/i9300/i9300.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/samsung/i9300/i9300.c b/board/samsung/i9300/i9300.c index b61911a7fb..3550c0eab7 100644 --- a/board/samsung/i9300/i9300.c +++ b/board/samsung/i9300/i9300.c @@ -151,6 +151,9 @@ static int i9300_check_battery(void) return ret; } + if (current == 0) + current = 460 * 1000; + ret = charger_set_current(charger, current); if (ret < 0) { printf("%s: Failed to set charge current: %d\n", __func__, ret); |