x86: Create a common header for Intel register access
authorSimon Glass <sjg@chromium.org>
Sat, 12 Mar 2016 05:06:55 +0000 (22:06 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:24 +0000 (10:27 +0800)
commit06d336cca284cc767a095ce40afca79b4aa0ecb0
tree4ffb6481ff02ed6f29d1767fd05c2d186aa3d9ff
parent9e66506d33eac67bfa814ccba1c9ccd06bb5b107
x86: Create a common header for Intel register access

There are several blocks of registers that are accessed from all over the
code on Intel CPUs. These don't currently have their own driver and it is
not clear whether having a driver makes sense.

An example is the Memory Controller Hub (MCH). We map it to a known location
on some Intel chips (mostly those without FSP - Firmware Support Package).

Add a new header file for these registers, and move MCH into it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/cpu/ivybridge/cpu.c
arch/x86/cpu/ivybridge/gma.c
arch/x86/cpu/ivybridge/northbridge.c
arch/x86/cpu/ivybridge/sdram.c
arch/x86/include/asm/arch-ivybridge/sandybridge.h
arch/x86/include/asm/intel_regs.h [new file with mode: 0644]