On Mon, Mar 7, 2016 at 10:28 AM, Simon Glass <s...@chromium.org> wrote:
> The Intel GPIO driver can set up the GPIO pin mapping when the first GPIO
> is probed. However, it assumes that the first GPIO to be probed is in the
> first GPIO bank. If this is not the case then the init will write to the
> wrong registers.
>
> Fix this. Also add a note that this code is deprecated. We should move to
> using device tree instead.
>
> Signed-off-by: Simon Glass <s...@chromium.org>
> ---
>
>  arch/x86/include/asm/gpio.h    | 5 +++++
>  drivers/gpio/intel_ich6_gpio.c | 4 +++-
>  2 files changed, 8 insertions(+), 1 deletion(-)
>

Reviewed-by: Bin Meng <bmeng...@gmail.com>
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to