Home
last modified time | relevance | path

Searched hist:"4538 c4983b2f64160afcbe7a4d36b0810b1c430c" (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/allwinner/sun50i_h6/
H A Dsunxi_power.c4538c4983b2f64160afcbe7a4d36b0810b1c430c Sun Oct 20 20:28:14 UTC 2019 Samuel Holland <samuel@sholland.org> allwinner: Clean up PMIC-related error handling

- Check the return value from sunxi_init_platform_r_twi().
- Print the PMIC banner before doing anything that might fail.
- Remove double prefixes in error messages.
- Consistently omit the trailing period.
- No need to print the unknown SoC's ID, since we already did that
earlier in bl31_platform_setup().
- On the other hand, do print the ID of the unknown PMIC.
- Try to keep the messages concise, as the large string size in these
files was causing the firmware to spill into the next page.
- Downgrade the banner from NOTICE to INFO. It's purely informational,
and people should be using debug builds on untested hardware anyway.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ib909408a5fdaebe05470fbce48d245dd0bf040eb
/rk3399_ARM-atf/plat/allwinner/sun50i_a64/
H A Dsunxi_power.c4538c4983b2f64160afcbe7a4d36b0810b1c430c Sun Oct 20 20:28:14 UTC 2019 Samuel Holland <samuel@sholland.org> allwinner: Clean up PMIC-related error handling

- Check the return value from sunxi_init_platform_r_twi().
- Print the PMIC banner before doing anything that might fail.
- Remove double prefixes in error messages.
- Consistently omit the trailing period.
- No need to print the unknown SoC's ID, since we already did that
earlier in bl31_platform_setup().
- On the other hand, do print the ID of the unknown PMIC.
- Try to keep the messages concise, as the large string size in these
files was causing the firmware to spill into the next page.
- Downgrade the banner from NOTICE to INFO. It's purely informational,
and people should be using debug builds on untested hardware anyway.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Change-Id: Ib909408a5fdaebe05470fbce48d245dd0bf040eb