wandboard: Do not print error message when PMIC is absent
PATCH 1/1 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 <[email protected]>
--- board/wandboard/wandboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
board/wandboard/wandboard.c +1 -1
@@ -363,7 +363,7 @@ int power_init_board(void) ret =pmic_get ("pfuze100 at 8" , &dev);if (ret <0 ) { -printf ("pmic_get() ret %d\n" , ret); +debug ("pmic_get() ret %d\n" , ret);return 0 ; }
Signature · 1 line
2.17.1
PATCH 1/1 wandboard: Do not print error message when PMIC is absent
Quoted 5 lines
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 <[email protected]>
Applied to u-boot-imx, master, thanks !
Best regards,
Stefano Babic
Signature · 5 lines
===================================================================== DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de =====================================================================