soc/intel/ptl: Update ME specification version to 21
[coreboot.git] / src / mainboard / google / auron / variants / lulu / variant.c
blob8349acaeff6c505d2aa7a78b3a9e3870c8c1250c
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <ec/google/chromeec/ec.h>
4 #include <soc/pm.h>
5 #include <smbios.h>
6 #include <soc/romstage.h>
7 #include <variant/onboard.h>
8 #include <mainboard/google/auron/variant.h>
10 int variant_smbios_data(struct device *dev, int *handle, unsigned long *current)
12 int len = 0;
14 len += smbios_write_type41(
15 current, handle,
16 BOARD_TRACKPAD_NAME, /* name */
17 BOARD_TRACKPAD_IRQ, /* instance */
18 BOARD_TRACKPAD_I2C_BUS, /* segment */
19 BOARD_TRACKPAD_I2C_ADDR, /* bus */
20 0, /* device */
21 0, /* function */
22 SMBIOS_DEVICE_TYPE_OTHER); /* device type */
24 len += smbios_write_type41(
25 current, handle,
26 BOARD_TOUCHSCREEN_NAME, /* name */
27 BOARD_TOUCHSCREEN_IRQ, /* instance */
28 BOARD_TOUCHSCREEN_I2C_BUS, /* segment */
29 BOARD_TOUCHSCREEN_I2C_ADDR, /* bus */
30 0, /* device */
31 0, /* function */
32 SMBIOS_DEVICE_TYPE_OTHER); /* device type */
34 return len;
37 void mainboard_post_raminit(const int s3resume)
39 if (!s3resume)
40 google_chromeec_kbbacklight(75);