diff options
author | Simon Glass <sjg@chromium.org> | 2016-03-06 19:28:13 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:23 +0800 |
commit | d6d50db8a32674e56d4464688b1d74c9edaab550 (patch) | |
tree | 8c665fe4cc09d214271a724875adeae7b88caa14 /cmd/ini.c | |
parent | 963a811ab42aac2fac6fc063dc7cc689a3336d28 (diff) | |
download | u-boot-imx-d6d50db8a32674e56d4464688b1d74c9edaab550.zip u-boot-imx-d6d50db8a32674e56d4464688b1d74c9edaab550.tar.gz u-boot-imx-d6d50db8a32674e56d4464688b1d74c9edaab550.tar.bz2 |
x86: gpio: Correct GPIO setup ordering
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 <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'cmd/ini.c')
0 files changed, 0 insertions, 0 deletions