[U-Boot] [PATCH v2 7/9] x86: gpio: Tidy up gpio_ich6_get_base() and callers

Simon Glass sjg at chromium.org
Wed Aug 26 16:55:36 CEST 2015


On 22 August 2015 at 14:58, Simon Glass <sjg at chromium.org> wrote:
> This function can return an error. Correct the detection of this error so
> that it works even with large 32-bit addresses.
>
> The return value is set up for returning an I/O address but the function is
> also used to return a memory-mapped address. Adjust the return code to make
> this work.
>
> Also add a bit more debugging.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  drivers/gpio/intel_ich6_gpio.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)

Applied to u-boot-x86.


More information about the U-Boot mailing list