summaryrefslogtreecommitdiff
path: root/src/mainboard/google/auron/variants/lulu
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2021-01-20 22:36:20 +0100
committerAngel Pons <th3fanbus@gmail.com>2021-01-24 12:06:39 +0000
commitac1c9bb5cdca24312c669eaaa908b13202e3bb35 (patch)
treeb26cf14dc049b07744c18d8213b2339f6e96c4f8 /src/mainboard/google/auron/variants/lulu
parentd626e554aa6f2a15c2ac4c971d1e5d3a9405b5fc (diff)
broadwell: Clean up `mainboard_post_raminit`
Make it optional and change its signature. Change-Id: I4b5f3fb08e8954514ebf39e72c95aa62d66856d7 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/49775 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/mainboard/google/auron/variants/lulu')
-rw-r--r--src/mainboard/google/auron/variants/lulu/variant.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/google/auron/variants/lulu/variant.c b/src/mainboard/google/auron/variants/lulu/variant.c
index b38807bfcd..8349acaeff 100644
--- a/src/mainboard/google/auron/variants/lulu/variant.c
+++ b/src/mainboard/google/auron/variants/lulu/variant.c
@@ -34,8 +34,8 @@ int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
return len;
}
-void mainboard_post_raminit(struct romstage_params *rp)
+void mainboard_post_raminit(const int s3resume)
{
- if (rp->power_state->prev_sleep_state != ACPI_S3)
+ if (!s3resume)
google_chromeec_kbbacklight(75);
}