diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mainboard/google/corsola/mainboard.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mainboard/google/corsola/mainboard.c b/src/mainboard/google/corsola/mainboard.c index 75b8bb5e4b..2ea81e848e 100644 --- a/src/mainboard/google/corsola/mainboard.c +++ b/src/mainboard/google/corsola/mainboard.c @@ -1,7 +1,9 @@ /* SPDX-License-Identifier: GPL-2.0-only */ +#include <console/console.h> #include <device/device.h> #include <soc/msdc.h> +#include <soc/spm.h> #include <soc/usb.h> static void mainboard_init(struct device *dev) @@ -9,6 +11,9 @@ static void mainboard_init(struct device *dev) mtk_msdc_configure_emmc(true); mtk_msdc_configure_sdcard(); setup_usb_host(); + + if (spm_init()) + printk(BIOS_ERR, "spm init failed, system suspend may not work\n"); } static void mainboard_enable(struct device *dev) |