]> git.sur5r.net Git - u-boot/commit
dm: pch: Add get_gpio_base op
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:43 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:21 +0000 (12:47 +0800)
commit384980c687ca38c028bdf40f59a38b3f52105884
treee9f70955a43852369d64b01eafb91c09e6b4e848
parent3e389d8ba666c5c2ad42021c2087630c1e412954
dm: pch: Add get_gpio_base op

x86 GPIO registers are accessed via I/O port whose base address is
configured in a PCI configuration register on the PCH device. Add
an op get_gpio_base to get the GPIO base address from PCH.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
drivers/pch/pch-uclass.c
include/pch.h