
24 Jan
2015
24 Jan
'15
12:55 a.m.
On 22 January 2015 at 08:05, Simon Glass sjg@chromium.org wrote:
On 21 January 2015 at 20:29, Bin Meng bmeng.cn@gmail.com wrote:
CPUID (EAX 01H) returns MTRR support flag in EDX bit 12. Probe this flag in x86_cpu_init_f() and save it in global data.
Signed-off-by: Bin Meng bmeng.cn@gmail.com
Changes in v2:
- Use space instead of tab to indent in arch_global_data
arch/x86/cpu/cpu.c | 7 +++++++ arch/x86/include/asm/global_data.h | 13 +++++++------ 2 files changed, 14 insertions(+), 6 deletions(-)
Acked-by: Simon Glass sjg@chromium.org
(for reference, normally we would do this sort of clean-up in a separate patch)
Applied to u-boot-x86, thanks!