x86: ich6-gpio: Move setup_pch_gpios() to board support codes
authorBin Meng <bmeng.cn@gmail.com>
Fri, 12 Dec 2014 13:05:23 +0000 (21:05 +0800)
committerSimon Glass <sjg@chromium.org>
Sun, 14 Dec 2014 05:32:04 +0000 (22:32 -0700)
commit2795573a8c9c62db7b4bcf4bddf54d73b6ae61d3
tree584f80b7f7f361592b29291caa65289e998ffbc8
parentfe0c33a5acc8cc5400747200802089177bd94b58
x86: ich6-gpio: Move setup_pch_gpios() to board support codes

Movie setup_pch_gpios() in the ich6-gpio driver to the board support
codes, so that the driver does not need to know any platform specific
stuff (ie: include the platform specifc chipset header file).

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/x86/include/asm/arch-coreboot/gpio.h
arch/x86/include/asm/arch-ivybridge/gpio.h
arch/x86/include/asm/gpio.h
board/coreboot/coreboot/coreboot.c
board/google/chromebook_link/link.c
drivers/gpio/intel_ich6_gpio.c