summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/asurada/mainboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/asurada/mainboard.c b/src/mainboard/google/asurada/mainboard.c
index e00eb2fde4..0701c678d6 100644
--- a/src/mainboard/google/asurada/mainboard.c
+++ b/src/mainboard/google/asurada/mainboard.c
@@ -6,6 +6,7 @@
#include <device/mmio.h>
#include <soc/gpio.h>
#include <soc/regulator.h>
+#include <soc/spm.h>
#include <soc/usb.h>
#include "gpio.h"
@@ -107,6 +108,9 @@ static void mainboard_init(struct device *dev)
setup_usb_host();
register_reset_to_bl31();
+
+ if (spm_init())
+ printk(BIOS_ERR, "spm init fail, system suspend may stuck\n");
}
static void mainboard_enable(struct device *dev)