[RFC WIP PATCH v1 7/7] wandboard: in SPL use only D1 DTB

Heiko Schocher hs at denx.de
Thu Jan 16 07:20:26 CET 2020


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 at 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 at denx.de


More information about the U-Boot mailing list