
15 Jan
2020
15 Jan
'20
8:54 p.m.
Hi Heiko,
On Tue, Jan 14, 2020 at 3:14 AM Heiko Schocher hs@denx.de wrote:
+#if defined(CONFIG_SPL_BUILD)
/* in SPL we use only revision D1 DTB */
if (1) {
+#else if (is_revd1()) { +#endif
Is there a way to improve is_revd1() so that it can call i2c_probe() and detect whether the PMIC is present or not?
Thanks