diff options
Diffstat (limited to 'src/mainboard/intel/emeraldlake2/mainboard_smi.c')
-rw-r--r-- | src/mainboard/intel/emeraldlake2/mainboard_smi.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/intel/emeraldlake2/mainboard_smi.c b/src/mainboard/intel/emeraldlake2/mainboard_smi.c index 340562a0e5..03c505b816 100644 --- a/src/mainboard/intel/emeraldlake2/mainboard_smi.c +++ b/src/mainboard/intel/emeraldlake2/mainboard_smi.c @@ -27,17 +27,12 @@ #include <northbridge/intel/sandybridge/sandybridge.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; - int mainboard_io_trap_handler(int smif) { switch (smif) { case 0x99: printk(BIOS_DEBUG, "Sample\n"); - gnvs->smif = 0; + smm_get_gnvs()->smif = 0; break; default: return 0; |