summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/pi
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-10 15:32:03 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-13 14:00:06 +0000
commit1ef039bb4965213c87b844ca30482853fb86b418 (patch)
tree444e9b959f2ea4afee59a4abe772963d4d6c9d5b /src/southbridge/amd/pi
parentc4fdb7b923f82e31a687fc01f7176ad05ab51689 (diff)
cpu/x86: Change old-style SMI handler prototypes
Change-Id: Ic1e3cae5298997b552020b78e6ff56d60cf22036 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34821 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/southbridge/amd/pi')
-rw-r--r--src/southbridge/amd/pi/hudson/smihandler.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/southbridge/amd/pi/hudson/smihandler.c b/src/southbridge/amd/pi/hudson/smihandler.c
index 2b2606d1f4..6ecb7462f0 100644
--- a/src/southbridge/amd/pi/hudson/smihandler.c
+++ b/src/southbridge/amd/pi/hudson/smihandler.c
@@ -20,7 +20,6 @@
#include <arch/io.h>
#include <cpu/x86/smm.h>
-#include <cpu/x86/smi_deprecated.h>
#include "hudson.h"
#include "smi.h"
@@ -121,7 +120,7 @@ static void process_smi_0x90(void)
smi_write32(0x90, status);
}
-void southbridge_smi_handler(unsigned int node, smm_state_save_area_t *state_save)
+void southbridge_smi_handler(void)
{
const uint16_t smi_src = smi_read16(0x94);