src: Use '#include <smp/node.h>' when appropriate
Change-Id: Icdd6b49751763ef0edd4c57e855cc1d042dc6d4d Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36373 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
parent
88f107012a
commit
dda17fa222
9 changed files with 8 additions and 1 deletions
|
@ -27,6 +27,7 @@
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
#include <northbridge/intel/haswell/haswell.h>
|
#include <northbridge/intel/haswell/haswell.h>
|
||||||
#include <southbridge/intel/lynxpoint/pch.h>
|
#include <southbridge/intel/lynxpoint/pch.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include "haswell.h"
|
#include "haswell.h"
|
||||||
|
|
||||||
#define MSR_PRMRR_PHYS_BASE 0x1f4
|
#define MSR_PRMRR_PHYS_BASE 0x1f4
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
#include "chip.h"
|
#include "chip.h"
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <cpu/intel/common/common.h>
|
#include <cpu/intel/common/common.h>
|
||||||
|
#include <smp/node.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* List of supported C-states in this processor
|
* List of supported C-states in this processor
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <smp/spinlock.h>
|
#include <smp/spinlock.h>
|
||||||
#include <cpu/cpu.h>
|
#include <cpu/cpu.h>
|
||||||
#include <cpu/intel/speedstep.h>
|
#include <cpu/intel/speedstep.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <thread.h>
|
#include <thread.h>
|
||||||
|
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
#include <cpu/x86/lapic_def.h>
|
#include <cpu/x86/lapic_def.h>
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include <halt.h>
|
#include <halt.h>
|
||||||
#include <smp/node.h>
|
|
||||||
|
|
||||||
static __always_inline unsigned long lapic_read(unsigned long reg)
|
static __always_inline unsigned long lapic_read(unsigned long reg)
|
||||||
{
|
{
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <cpu/intel/em64t101_save_state.h>
|
#include <cpu/intel/em64t101_save_state.h>
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/intel/em64t101_save_state.h>
|
#include <cpu/intel/em64t101_save_state.h>
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <cpu/intel/em64t101_save_state.h>
|
#include <cpu/intel/em64t101_save_state.h>
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -28,6 +28,7 @@
|
||||||
#include <cpu/intel/em64t101_save_state.h>
|
#include <cpu/intel/em64t101_save_state.h>
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
|
@ -27,6 +27,7 @@
|
||||||
#include <cpu/intel/em64t101_save_state.h>
|
#include <cpu/intel/em64t101_save_state.h>
|
||||||
#include <cpu/intel/smm_reloc.h>
|
#include <cpu/intel/smm_reloc.h>
|
||||||
#include <console/console.h>
|
#include <console/console.h>
|
||||||
|
#include <smp/node.h>
|
||||||
#include <soc/cpu.h>
|
#include <soc/cpu.h>
|
||||||
#include <soc/msr.h>
|
#include <soc/msr.h>
|
||||||
#include <soc/pci_devs.h>
|
#include <soc/pci_devs.h>
|
||||||
|
|
Loading…
Reference in a new issue