commit | df1c9eb505a194e2957356d9e0d730dbe03ed45d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Aug 22 15:58:59 2015 -0600 |
committer | Simon Glass <sjg@chromium.org> | Wed Aug 26 07:54:15 2015 -0700 |
tree | 47230478402ef9cbed69ff307c9a19e8f105dda8 | |
parent | e7cc0b6f006e547e86b111187d192ea8211c7576 [diff] |
x86: gpio: Tidy up gpio_ich6_get_base() and callers 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@chromium.org>