
22 Oct
2022
22 Oct
'22
5:37 p.m.
On Sat, Oct 22, 2022 at 10:44 AM Adam Ford aford173@gmail.com wrote:
If the bd718x7 is required, but PMIC_CHILDREN is disabled, this driver throws a compile error. Fix this by putting the function to bind children into an if-statement checking for PMIC_CHILDREN.
Allowing PMIC_CHILDREN to be disabled in SPL saves some space and still permits some read/write functions to access the PMIC in early startup.
Cool, that's a good hint. I was not aware of it.
Reviewed-by: Fabio Estevam festevam@gmail.com