[U-Boot] [PATCH 20/69] x86: Move common LPC code to its own place

Bin Meng bmeng.cn at gmail.com
Fri Mar 11 06:18:24 CET 2016


On Fri, Mar 11, 2016 at 1:05 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> Hi Simon,
>
> On Mon, Mar 7, 2016 at 10:28 AM, 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>
>> ---
>>
>>  arch/x86/cpu/intel_common/Makefile        |   1 +
>>  arch/x86/cpu/intel_common/lpc_common.c    | 102 ++++++++++++++++++++++++++++++

Forget to mention: can we just use "lpc.c" as the name as "_common" is
already in the directory name?

>>  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 +++++++++++++++++
>>  6 files changed, 168 insertions(+), 85 deletions(-)
>>  create mode 100644 arch/x86/cpu/intel_common/lpc_common.c
>>  create mode 100644 arch/x86/include/asm/lpc_common.h
>>

Regards,
Bin


More information about the U-Boot mailing list