summaryrefslogtreecommitdiff
path: root/src/southbridge/amd
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-10 15:51:59 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2019-08-13 13:59:34 +0000
commitc4fdb7b923f82e31a687fc01f7176ad05ab51689 (patch)
treef7ee32bd81fe70378fae542570d4f674b1e31f71 /src/southbridge/amd
parente31ec299decd5a07e14fbd680eb88d34561c646d (diff)
cpu/x86: Move some SMM function declarations
Change-Id: I9a4e57f8fd032f2824eab0e5b59d635710e3e24b Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34822 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/southbridge/amd')
-rw-r--r--src/southbridge/amd/agesa/hudson/smi.c5
-rw-r--r--src/southbridge/amd/pi/hudson/smi.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/src/southbridge/amd/agesa/hudson/smi.c b/src/southbridge/amd/agesa/hudson/smi.c
index 4180795a73..f8196b4e65 100644
--- a/src/southbridge/amd/agesa/hudson/smi.c
+++ b/src/southbridge/amd/agesa/hudson/smi.c
@@ -18,9 +18,10 @@
* Utilities for SMM setup
*/
-#include "smi.h"
-
#include <console/console.h>
+#include <cpu/x86/smm.h>
+
+#include "smi.h"
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
{
diff --git a/src/southbridge/amd/pi/hudson/smi.c b/src/southbridge/amd/pi/hudson/smi.c
index 4180795a73..f8196b4e65 100644
--- a/src/southbridge/amd/pi/hudson/smi.c
+++ b/src/southbridge/amd/pi/hudson/smi.c
@@ -18,9 +18,10 @@
* Utilities for SMM setup
*/
-#include "smi.h"
-
#include <console/console.h>
+#include <cpu/x86/smm.h>
+
+#include "smi.h"
void smm_setup_structures(void *gnvs, void *tcg, void *smi1)
{