x86: Add common SDRAM-init code
authorSimon Glass <sjg@chromium.org>
Wed, 16 Mar 2016 13:44:37 +0000 (07:44 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:27 +0000 (10:27 +0800)
commit65dd1507e3b744954d43811a1e4d9f194d1bda64
tree806d07c276af859adf947f6f0541adc097e4fe9b
parent7e4a6ae62c7ee567ae43e94445e561b3ec8343b9
x86: Add common SDRAM-init code

The code to call the memory reference code is common to several Intel CPUs.
Add common code for performing this init. Intel calls this 'Pre-EFI-Init'
(PEI), where EFI stands for Extensible Firmware Interface.

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/mrc.c [new file with mode: 0644]
arch/x86/include/asm/mrc_common.h [new file with mode: 0644]