[U-Boot] [PATCH v2 12/51] x86: Move common LPC code to its own place

Bin Meng bmeng.cn at gmail.com
Mon Mar 14 05:43:57 CET 2016


On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass <sjg at chromium.org> wrote:
> Some of the LPC code is common to several Intel LPC devices. Move it into a
> common location.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> Changes in v2:
> - Use capitals for header guard
> - Move cougarcanyon lpc_common.h include to this patch
>
>  arch/x86/cpu/intel_common/Makefile        |   1 +
>  arch/x86/cpu/intel_common/lpc.c           | 100 ++++++++++++++++++++++++++++++
>  arch/x86/cpu/ivybridge/bd82x6x.c          |  16 +----
>  arch/x86/cpu/ivybridge/lpc.c              |  73 ++--------------------
>  arch/x86/include/asm/arch-ivybridge/pch.h |   2 -
>  arch/x86/include/asm/lpc_common.h         |  59 ++++++++++++++++++
>  board/intel/cougarcanyon2/cougarcanyon2.c |   1 +
>  7 files changed, 167 insertions(+), 85 deletions(-)
>  create mode 100644 arch/x86/cpu/intel_common/lpc.c
>  create mode 100644 arch/x86/include/asm/lpc_common.h
>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list