[U-Boot] [PATCH] detect and setup solidrun hummingboard2

Fabio Estevam festevam at gmail.com
Thu Aug 24 15:55:17 UTC 2017


On Thu, Aug 24, 2017 at 12:34 PM, Dennis Gilmore <dennis at ausil.us> wrote:

> +static bool is_hummingboard2(void)
> +{
> +       int val1;
> +
> +       SETUP_IOMUX_PADS(hb_cbi_sense);

hb_cbi_sense configures pins GPIO4_9 and GPIO3_4, which are used for
the previous version of the board and not GPIO2_8, which is used to
detect Hummingboard2.

Even though GPIO2_8 comes up as GPIO by default, it would be better to
explicitly configure GPIO2_8 as GPIO inside this function.


More information about the U-Boot mailing list