[U-Boot] [PATCH] gpio: mxc_gpio: Fix gpio_get_value() when the GPIO is an output

Fabio Estevam festevam at gmail.com
Sun Sep 29 20:22:36 CEST 2013


On Sun, Sep 29, 2013 at 3:19 PM, Eric Bénard <eric at eukrea.com> wrote:

> on which CPU is that ?

Otavio tested it on mx6.

> It's strange reading PSR works in the kernel and not in u-boot.

The patch I sent aligns with the kernel behaviour as well:

http://git.freescale.com/git/cgit.cgi/imx/linux-2.6-imx.git/commit/arch/arm/plat-mxc/gpio.c?h=imx_3.0.35_4.1.0&id=d6f32393eaf455ce3c32d4e9bafd34d9091eaf45

Will investige it in more details tomorrow at FSL.

Regards,

Fabio Estevam


More information about the U-Boot mailing list