commit | 0773aeda39220fc926b89a3d69cf827d20996e77 | [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 | 94641cb833ad4c4aecbaa38bf1a96ea2fea8ed61 [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>