
16 Jan
2020
16 Jan
'20
7:20 a.m.
Hello Fabio,
Am 15.01.2020 um 20:54 schrieb Fabio Estevam:
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?
It is WIP so maybe yes ;-)
bye, Heiko
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52 Fax: +49-8142-66989-80 Email: hs@denx.de