x86: Move common PCH code into a common place
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:44:36 +0000 (07:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:27 +0000 (10:27 +0800)
commit7e4a6ae62c7ee567ae43e94445e561b3ec8343b9
tree6fb33d50aa6943375f844432bfe3b6a1921ba9b7
parentf215287bd59c28443efe6118e7e958be733ce727
x86: Move common PCH code into a common place

The SATA indexed register write functions are common to several Intel PCHs.
Move this into a common location.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/intel_common/Makefile
arch/x86/cpu/intel_common/pch.c [new file with mode: 0644]
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/ivybridge/sata.c
arch/x86/include/asm/arch-ivybridge/pch.h
arch/x86/include/asm/pch_common.h [new file with mode: 0644]