From 6082ee5281bdf0c3f3d6981873efcd93a94b9330 Mon Sep 17 00:00:00 2001 From: Sean Rhodes Date: Wed, 9 Mar 2022 08:07:30 +0000 Subject: ec/starlabs/merlin: Make EC function names generic Rather than using `ite_`, use `ec_` so the same functions can be called for different ECs. Signed-off-by: Sean Rhodes Change-Id: Ie61af233f731eb47772af1c82c6abdc515bc89cc Reviewed-on: https://review.coreboot.org/c/coreboot/+/62700 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/mainboard/starlabs/labtop/smbios.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/starlabs/labtop') diff --git a/src/mainboard/starlabs/labtop/smbios.c b/src/mainboard/starlabs/labtop/smbios.c index 22f3ad3de5..fbdbefd361 100644 --- a/src/mainboard/starlabs/labtop/smbios.c +++ b/src/mainboard/starlabs/labtop/smbios.c @@ -17,7 +17,7 @@ const char *smbios_mainboard_bios_version(void) /* Get the Embedded Controller firmware version */ void smbios_ec_revision(uint8_t *ec_major_revision, uint8_t *ec_minor_revision) { - u16 ec_version = it_get_version(); + u16 ec_version = ec_get_version(); *ec_major_revision = ec_version >> 8; *ec_minor_revision = ec_version & 0xff; -- cgit v1.2.3