[U-Boot] [PATCH 1/2] dm: gpio: mxc: fix mxc_gpio_bank_get_value

Fabio Estevam festevam at gmail.com
Tue Mar 15 13:53:15 CET 2016


On Tue, Mar 15, 2016 at 2:48 AM, Peng Fan <van.freenix at gmail.com> wrote:
> When configured a gpio to output direction, directly reading PSR register
> can not return the output value, since we did not set SION bit for gpio
> iomux. So, we can use data register to reflect what value is outputed.

Then why not simply set the SION bit instead?


More information about the U-Boot mailing list