summaryrefslogtreecommitdiff
path: root/board/wandboard/wandboard.c
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2020-04-17 15:27:11 +0300
committerStefano Babic <sbabic@denx.de>2020-04-18 13:59:45 +0300
commitb8e74fc8dbb6335f614c45257c330eba07e3e3b4 (patch)
treeea638d91d82cb984a335207fca27b7d356899a6c /board/wandboard/wandboard.c
parent417ea635dce2837e2273fa8684ee9750e67eb0ad (diff)
downloadu-boot-b8e74fc8dbb6335f614c45257c330eba07e3e3b4.tar.xz
wandboard: Do not print error when PMIC is not present
On wandboard variants prior to revD1, there is no PMIC populated, so do not print an error when the reading of the device ID register fails. Signed-off-by: Fabio Estevam <festevam@gmail.com> Tested-by: Heiko Schocher <hs@denx.de>
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 90957167b2..7fd60682a5 100644
--- a/board/wandboard/wandboard.c
+++ b/board/wandboard/wandboard.c
@@ -369,7 +369,7 @@ int power_init_board(void)
reg = pmic_reg_read(dev, PFUZE100_DEVICEID);
if (reg < 0) {
- printf("pmic_reg_read() ret %d\n", reg);
+ debug("pmic_reg_read() ret %d\n", reg);
return 0;
}
printf("PMIC: PFUZE100 ID=0x%02x\n", reg);