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

Fabio Estevam festevam at gmail.com
Wed Jan 15 20:54:32 CET 2020


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?

Thanks


More information about the U-Boot mailing list