projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3061ce
)
wandboard: Do not print error message when PMIC is absent
author
Fabio Estevam
<festevam@gmail.com>
Thu, 9 Jan 2020 01:05:05 +0000
(22:05 -0300)
committer
Stefano Babic
<sbabic@denx.de>
Tue, 14 Jan 2020 21:17:51 +0000
(22:17 +0100)
Only the wandboard revD1 boards have PMIC, so when running on a wandboard
of different revision the following error is always shown on every boot:
pmic_get() ret -19
Instead of printing this error message, move it to debug level instead.
Signed-off-by: Fabio Estevam <festevam@gmail.com>
board/wandboard/wandboard.c
patch
|
blob
|
history
diff --git
a/board/wandboard/wandboard.c
b/board/wandboard/wandboard.c
index f4534dd3dc6274b788f49110e591a3fcc7c0b97e..5725c5816cda61509bd2fa3eb082b594037d9328 100644
(file)
--- a/
board/wandboard/wandboard.c
+++ b/
board/wandboard/wandboard.c
@@
-363,7
+363,7
@@
int power_init_board(void)
ret = pmic_get("pfuze100@8", &dev);
if (ret < 0) {
-
printf
("pmic_get() ret %d\n", ret);
+
debug
("pmic_get() ret %d\n", ret);
return 0;
}