[U-Boot] [PATCH v3 05/27] x86: ich6-gpio: Move setup_pch_gpios() to board support codes

Simon Glass sjg at chromium.org
Mon Dec 15 19:23:26 CET 2014


On 12 December 2014 at 06:05, Bin Meng <bmeng.cn at 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 at gmail.com>
> Acked-by: Simon Glass <sjg at chromium.org>
>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Move setup_pch_gpios() to board support codes instead of
>   making it a weak function
>
>  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(-)

Applied to u-boot-x86, thanks!


More information about the U-Boot mailing list