Home
last modified time | relevance | path

Searched hist:d6d50db8 (Results 1 – 2 of 2) sorted by relevance

/openbmc/u-boot/arch/x86/include/asm/
H A Dgpio.hd6d50db8 Sun Mar 06 20:28:13 CST 2016 Simon Glass <sjg@chromium.org> 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>
/openbmc/u-boot/drivers/gpio/
H A Dintel_ich6_gpio.cd6d50db8 Sun Mar 06 20:28:13 CST 2016 Simon Glass <sjg@chromium.org> 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>