dm: pch: Add get_io_base op
authorBin Meng <bmeng.cn@gmail.com>
Mon, 1 Feb 2016 09:40:45 +0000 (01:40 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 5 Feb 2016 04:47:21 +0000 (12:47 +0800)
commit79d4eb627cffbc3ab7cefdd623fa39fefaaedbe7
tree10b2756494ba0b3d3a0967f1ef82380689612e51
parentec2af6f82d4ee07fa19877e2bb2e5c80d8d6962b
dm: pch: Add get_io_base op

On some newer chipset (eg: BayTrail), there is an IO base address
register on the PCH device which configures the base address of a
memory-mapped I/O controller.

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