diff options
Diffstat (limited to 'src/mainboard/google/cherry/mainboard.c')
-rw-r--r-- | src/mainboard/google/cherry/mainboard.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/cherry/mainboard.c b/src/mainboard/google/cherry/mainboard.c index 2607a2dfb4..04f4293308 100644 --- a/src/mainboard/google/cherry/mainboard.c +++ b/src/mainboard/google/cherry/mainboard.c @@ -11,6 +11,7 @@ #include <soc/i2c.h> #include <soc/mt6360.h> #include <soc/regulator.h> +#include <soc/spm.h> #include <soc/usb.h> #include "gpio.h" @@ -124,6 +125,9 @@ static void mainboard_init(struct device *dev) configure_sdcard(); setup_usb_host(); + if (spm_init()) + printk(BIOS_ERR, "spm init failed, system suspend may not work\n"); + register_reset_to_bl31(); } |