[U-Boot] [PATCH v3 03/10] x86: Move common PCH code into a common place

Bin Meng bmeng.cn at gmail.com
Thu Mar 17 02:38:08 CET 2016


On Wed, Mar 16, 2016 at 9:44 PM, Simon Glass <sjg at chromium.org> wrote:
> The SATA indexed register write functions are common to several Intel PCHs.
> Move this into a common location.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v3:
> - Rename pch_common.c to pch.c
>
> Changes in v2: None
>
>  arch/x86/cpu/intel_common/Makefile        |  1 +
>  arch/x86/cpu/intel_common/pch.c           | 25 ++++++++++++++
>  arch/x86/cpu/ivybridge/cpu.c              |  1 +
>  arch/x86/cpu/ivybridge/sata.c             | 47 +++++++++-----------------
>  arch/x86/include/asm/arch-ivybridge/pch.h | 53 -----------------------------
>  arch/x86/include/asm/pch_common.h         | 56 +++++++++++++++++++++++++++++++
>  6 files changed, 99 insertions(+), 84 deletions(-)
>  create mode 100644 arch/x86/cpu/intel_common/pch.c
>  create mode 100644 arch/x86/include/asm/pch_common.h
>

Reviewed-by: Bin Meng <bmeng.cn at gmail.com>


More information about the U-Boot mailing list