summaryrefslogtreecommitdiff
path: root/src/mainboard/google/link
diff options
context:
space:
mode:
authorChristian Walter <christian.walter@9elements.com>2019-05-21 17:22:49 +0200
committerPatrick Rudolph <siro@das-labor.org>2019-05-23 08:14:44 +0000
commite6afab12e27df5c4adb7c6eaec1f71f825f9ad52 (patch)
tree9734537f337520239c74015d1d15b18db8a2e97f /src/mainboard/google/link
parent84b8f90bba65c56c4122d0a214608ef4e882861c (diff)
downloadcoreboot-e6afab12e27df5c4adb7c6eaec1f71f825f9ad52.tar.xz
src/mainboard/google: Adopt Mainboards to changed Type41 Func
Required for automatic onboard device detection in the next patch. Change-Id: I3087de779faf8d006510c460b5372b22ae54b887 Signed-off-by: Christian Walter <christian.walter@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32909 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/google/link')
-rw-r--r--src/mainboard/google/link/mainboard.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/mainboard/google/link/mainboard.c b/src/mainboard/google/link/mainboard.c
index 410866d0fe..37d1a672cd 100644
--- a/src/mainboard/google/link/mainboard.c
+++ b/src/mainboard/google/link/mainboard.c
@@ -170,7 +170,8 @@ static int link_onboard_smbios_data(struct device *dev, int *handle,
0, /* segment */
BOARD_LIGHTSENSOR_I2C_ADDR, /* bus */
0, /* device */
- 0); /* function */
+ 0, /* function */
+ SMBIOS_DEVICE_TYPE_OTHER); /* device type */
len += smbios_write_type41(
current, handle,
@@ -179,7 +180,8 @@ static int link_onboard_smbios_data(struct device *dev, int *handle,
0, /* segment */
BOARD_TRACKPAD_I2C_ADDR, /* bus */
0, /* device */
- 0); /* function */
+ 0, /* function */
+ SMBIOS_DEVICE_TYPE_OTHER); /* device type */
len += smbios_write_type41(
current, handle,
@@ -188,7 +190,8 @@ static int link_onboard_smbios_data(struct device *dev, int *handle,
0, /* segment */
BOARD_TOUCHSCREEN_I2C_ADDR, /* bus */
0, /* device */
- 0); /* function */
+ 0, /* function */
+ SMBIOS_DEVICE_TYPE_OTHER); /* device type */
return len;
}