
On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass sjg@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@chromium.org Reviewed-by: Bin Meng bmeng.cn@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!