Remove useless extern gnvs declaration in smi handlers.

Change-Id: I3047badea8d4f61155f4e4f7d3d078426948162a
Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com>
Reviewed-on: http://review.coreboot.org/10228
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
Vladimir Serbinenko 2015-05-16 16:36:17 +02:00
parent 89d17bb087
commit a5dc9f1be8
13 changed files with 0 additions and 64 deletions

View File

@ -29,11 +29,6 @@
#define GPE_EC_SCI 12 #define GPE_EC_SCI 12
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -31,11 +31,6 @@
#include <northbridge/intel/sandybridge/sandybridge.h> #include <northbridge/intel/sandybridge/sandybridge.h>
#include <cpu/intel/model_206ax/model_206ax.h> #include <cpu/intel/model_206ax/model_206ax.h>
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -31,11 +31,6 @@
#include <northbridge/intel/sandybridge/sandybridge.h> #include <northbridge/intel/sandybridge/sandybridge.h>
#include <cpu/intel/model_206ax/model_206ax.h> #include <cpu/intel/model_206ax/model_206ax.h>
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -36,11 +36,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -34,11 +34,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -36,11 +36,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -36,11 +36,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -31,10 +31,6 @@
#define GPE_EC_SCI 12 #define GPE_EC_SCI 12
#define LVTMA_BL_MOD_LEVEL 0x7af9 /* ATI Radeon backlight level */ #define LVTMA_BL_MOD_LEVEL 0x7af9 /* ATI Radeon backlight level */
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {

View File

@ -37,11 +37,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -36,11 +36,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -36,11 +36,6 @@
#define GPE_EC_SCI 1 #define GPE_EC_SCI 1
#define GPE_EC_WAKE 13 #define GPE_EC_WAKE 13
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -33,11 +33,6 @@
#define GPE_EC_SCI 12 #define GPE_EC_SCI 12
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");

View File

@ -31,11 +31,6 @@
#include <pc80/mc146818rtc.h> #include <pc80/mc146818rtc.h>
#include <delay.h> #include <delay.h>
/* The southbridge SMI handler checks whether gnvs has a
* valid pointer before calling the trap handler
*/
extern global_nvs_t *gnvs;
static void mainboard_smm_init(void) static void mainboard_smm_init(void)
{ {
printk(BIOS_DEBUG, "initializing SMI\n"); printk(BIOS_DEBUG, "initializing SMI\n");