nb/intel: Remove unused 'barrier()'
Change-Id: I0c33a1f3f9c33c15a901fe90258ed989e9641701 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36124 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
committed by
Patrick Georgi
parent
99bf4366a6
commit
c7783a39f8
@@ -52,7 +52,6 @@
|
|||||||
#define P_UNIT 4
|
#define P_UNIT 4
|
||||||
|
|
||||||
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
||||||
static inline void barrier(void) { asm("" ::: "memory"); }
|
|
||||||
|
|
||||||
#define PCI_DEVICE_ID_RG_MIN 0x1F00
|
#define PCI_DEVICE_ID_RG_MIN 0x1F00
|
||||||
#define PCI_DEVICE_ID_RG_MAX 0x1F0F
|
#define PCI_DEVICE_ID_RG_MAX 0x1F0F
|
||||||
|
@@ -202,7 +202,6 @@
|
|||||||
#define DMIDRCCFG 0xeb4 /* 32bit */
|
#define DMIDRCCFG 0xeb4 /* 32bit */
|
||||||
|
|
||||||
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
||||||
static inline void barrier(void) { asm("" ::: "memory"); }
|
|
||||||
|
|
||||||
void intel_northbridge_haswell_finalize_smm(void);
|
void intel_northbridge_haswell_finalize_smm(void);
|
||||||
|
|
||||||
|
@@ -361,8 +361,6 @@
|
|||||||
|
|
||||||
#define DMIDRCCFG 0xeb4 /* 32bit */
|
#define DMIDRCCFG 0xeb4 /* 32bit */
|
||||||
|
|
||||||
static inline void barrier(void) { asm("" ::: "memory"); }
|
|
||||||
|
|
||||||
int i945_silicon_revision(void);
|
int i945_silicon_revision(void);
|
||||||
void i945_early_initialization(void);
|
void i945_early_initialization(void);
|
||||||
void i945_late_initialization(int s3resume);
|
void i945_late_initialization(int s3resume);
|
||||||
|
@@ -245,7 +245,6 @@ typedef struct {
|
|||||||
#define DMIDRCCFG 0xeb4 /* 32bit */
|
#define DMIDRCCFG 0xeb4 /* 32bit */
|
||||||
|
|
||||||
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
||||||
static inline void barrier(void) { asm("" ::: "memory"); }
|
|
||||||
|
|
||||||
#define PCI_DEVICE_ID_SB 0x0104
|
#define PCI_DEVICE_ID_SB 0x0104
|
||||||
#define PCI_DEVICE_ID_IB 0x0154
|
#define PCI_DEVICE_ID_IB 0x0154
|
||||||
|
@@ -202,7 +202,6 @@ enum platform_type {
|
|||||||
#define DMIDRCCFG 0xeb4 /* 32bit */
|
#define DMIDRCCFG 0xeb4 /* 32bit */
|
||||||
|
|
||||||
#ifndef __ASSEMBLER__
|
#ifndef __ASSEMBLER__
|
||||||
static inline void barrier(void) { asm("" ::: "memory"); }
|
|
||||||
|
|
||||||
#ifdef __SMM__
|
#ifdef __SMM__
|
||||||
void intel_sandybridge_finalize_smm(void);
|
void intel_sandybridge_finalize_smm(void);
|
||||||
|
Reference in New Issue
Block a user