[U-Boot] [PATCH v2 10/51] x86: Create a common header for Intel register access

Bin Meng bmeng.cn at gmail.com
Mon Mar 14 05:31:37 CET 2016


On Mon, Mar 14, 2016 at 12:28 PM, Bin Meng <bmeng.cn at gmail.com> wrote:
> On Sat, Mar 12, 2016 at 1:06 PM, Simon Glass <sjg at chromium.org> wrote:
>> 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 at chromium.org>
>> ---
>>
>> Changes in v2:
>> - Use capitals for header guard
>>
>>  arch/x86/cpu/ivybridge/cpu.c                      |  1 +
>>  arch/x86/cpu/ivybridge/gma.c                      |  1 +
>>  arch/x86/cpu/ivybridge/northbridge.c              |  5 +++--
>>  arch/x86/cpu/ivybridge/sdram.c                    |  3 ++-
>>  arch/x86/include/asm/arch-ivybridge/sandybridge.h |  3 ---
>>  arch/x86/include/asm/intel_regs.h                 | 15 +++++++++++++++
>>  6 files changed, 22 insertions(+), 6 deletions(-)
>>  create mode 100644 arch/x86/include/asm/intel_regs.h
>>
>
> Reviewed-by: Bin Meng <bmeng.cn at gmail.com>

applied to u-boot-x86/next, thanks!


More information about the U-Boot mailing list