summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/Makefile.inc1
-rw-r--r--src/mainboard/google/poppy/variants/nautilus/smihandler.c15
2 files changed, 14 insertions, 2 deletions
diff --git a/src/mainboard/google/poppy/variants/nautilus/Makefile.inc b/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
index 130c940aa2..c71520601a 100644
--- a/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
+++ b/src/mainboard/google/poppy/variants/nautilus/Makefile.inc
@@ -15,3 +15,4 @@ ramstage-y += mainboard.c
ramstage-y += sku.c
smm-$(CONFIG_HAVE_SMI_HANDLER) += smihandler.c
+smm-$(CONFIG_HAVE_SMI_HANDLER) += sku.c
diff --git a/src/mainboard/google/poppy/variants/nautilus/smihandler.c b/src/mainboard/google/poppy/variants/nautilus/smihandler.c
index e355b01453..f23798eac3 100644
--- a/src/mainboard/google/poppy/variants/nautilus/smihandler.c
+++ b/src/mainboard/google/poppy/variants/nautilus/smihandler.c
@@ -16,13 +16,24 @@
#include <arch/acpi.h>
#include <baseboard/variants.h>
#include <gpio.h>
+#include <variant/sku.h>
#define LTE3_PWROFF_L GPP_D0
void variant_smi_sleep(u8 slp_typ)
{
+ uint32_t sku_id;
+
if (slp_typ == ACPI_S5) {
- /* Turn off LTE module */
- gpio_set(LTE3_PWROFF_L, 0);
+ sku_id = variant_board_sku();
+
+ switch (sku_id) {
+ case SKU_1_NAUTILUS_LTE:
+ /* Turn off LTE module */
+ gpio_set(LTE3_PWROFF_L, 0);
+ break;
+ default:
+ break;
+ }
}
}