
11 Mar
2016
11 Mar
'16
6:57 a.m.
On Fri, Mar 11, 2016 at 1:55 PM, Bin Meng bmeng.cn@gmail.com wrote:
On Mon, Mar 7, 2016 at 10:28 AM, Simon Glass sjg@chromium.org wrote:
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
arch/x86/include/asm/gpio.h | 5 +++++ drivers/gpio/intel_ich6_gpio.c | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com
applied to u-boot-x86/next, thanks!