On Thu, Aug 24, 2017 at 12:34 PM, Dennis Gilmore <den...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to