
On 9 December 2014 at 07:49, Bin Meng bmeng.cn@gmail.com wrote:
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
Changes in v2:
- Move setup_pch_gpios() to board support codes instead of making it a weak function
Acked-by: Simon Glass sjg@chromium.org
arch/x86/include/asm/arch-coreboot/gpio.h | 3 ++ arch/x86/include/asm/arch-ivybridge/gpio.h | 3 ++ arch/x86/include/asm/gpio.h | 1 + board/coreboot/coreboot/coreboot.c | 6 ++++ board/google/chromebook_link/link.c | 40 ++++++++++++++++++++++ drivers/gpio/intel_ich6_gpio.c | 53 ++---------------------------- 6 files changed, 55 insertions(+), 51 deletions(-)