summaryrefslogtreecommitdiff
path: root/src/mainboard/google
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google')
-rw-r--r--src/mainboard/google/auron/variants/gandof/variant.c5
-rw-r--r--src/mainboard/google/auron/variants/lulu/variant.c5
2 files changed, 8 insertions, 2 deletions
diff --git a/src/mainboard/google/auron/variants/gandof/variant.c b/src/mainboard/google/auron/variants/gandof/variant.c
index f1af14d53c..ad88f0d729 100644
--- a/src/mainboard/google/auron/variants/gandof/variant.c
+++ b/src/mainboard/google/auron/variants/gandof/variant.c
@@ -11,6 +11,8 @@
* GNU General Public License for more details.
*/
+#include <ec/google/chromeec/ec.h>
+#include <soc/pm.h>
#include <smbios.h>
#include <soc/romstage.h>
#include <variant/onboard.h>
@@ -35,5 +37,6 @@ int variant_smbios_data(device_t dev, int *handle,
void variant_romstage_entry(struct romstage_params *rp)
{
- /* N/A for boards other than SAMUS */
+ if (rp->power_state->prev_sleep_state != ACPI_S3)
+ google_chromeec_kbbacklight(75);
}
diff --git a/src/mainboard/google/auron/variants/lulu/variant.c b/src/mainboard/google/auron/variants/lulu/variant.c
index 740decfd58..9d77c27c8f 100644
--- a/src/mainboard/google/auron/variants/lulu/variant.c
+++ b/src/mainboard/google/auron/variants/lulu/variant.c
@@ -11,6 +11,8 @@
* GNU General Public License for more details.
*/
+#include <ec/google/chromeec/ec.h>
+#include <soc/pm.h>
#include <smbios.h>
#include <soc/romstage.h>
#include <variant/onboard.h>
@@ -44,5 +46,6 @@ int variant_smbios_data(device_t dev, int *handle,
void variant_romstage_entry(struct romstage_params *rp)
{
- /* N/A for boards other than SAMUS */
+ if (rp->power_state->prev_sleep_state != ACPI_S3)
+ google_chromeec_kbbacklight(75);
}