summaryrefslogtreecommitdiff
path: root/board/wandboard/wandboard.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-01-08 22:05:05 -0300
committerStefano Babic <sbabic@denx.de>2020-01-14 22:17:51 +0100
commit274a5526b99a86482296b647cccbd2cfdff01cf6 (patch)
tree60c056ace46f3f5b6fc743351c180fcf2884d8c4 /board/wandboard/wandboard.c
parentc3061ce8f1c53fa18fbdbab971f9125c816f9b5c (diff)
wandboard: Do not print error message when PMIC is absent
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>
Diffstat (limited to 'board/wandboard/wandboard.c')
-rw-r--r--board/wandboard/wandboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/wandboard/wandboard.c b/board/wandboard/wandboard.c
index f4534dd3dc..5725c5816c 100644
--- 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;
}