summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHarsha Priya <harhapriya.n@intel.com>2018-05-07 11:39:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 10:08:41 +0000
commit78ccdbf15b331d394e842583c32bb0cec935053d (patch)
treeb79032057fa70c52110e6a484f8415ff63db5934 /src
parent5c31511f35ad63f034fd10dd458a435eee162b8d (diff)
downloadcoreboot-78ccdbf15b331d394e842583c32bb0cec935053d.tar.xz
mainboard/google/eve: Add subsystem_id
This patch adds subsystem_id for eve as 0x006B. The value is set in nhlt structure which will be used by endpoints as well. Change-Id: Id6910678c4d6e92ed45c776f174855efd26f9e27 Signed-off-by: Harsha Priya <harshapriya.n@intel.com> Reviewed-on: https://review.coreboot.org/26139 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src')
-rw-r--r--src/mainboard/google/eve/mainboard.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mainboard/google/eve/mainboard.c b/src/mainboard/google/eve/mainboard.c
index b9ad358791..63dcd757fc 100644
--- a/src/mainboard/google/eve/mainboard.c
+++ b/src/mainboard/google/eve/mainboard.c
@@ -21,6 +21,8 @@
#include <vendorcode/google/chromeos/chromeos.h>
#include <soc/nhlt.h>
+#define SUBSYSTEM_ID 0x006B
+
static const char *oem_id_maxim = "GOOGLE";
static const char *oem_table_id_maxim = "EVEMAX";
@@ -42,6 +44,8 @@ static unsigned long mainboard_write_acpi_tables(
if (!nhlt)
return start_addr;
+ nhlt->subsystem_id = SUBSYSTEM_ID;
+
/* 4 Channel DMIC array */
if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4))
printk(BIOS_ERR, "Couldn't add rt5514.\n");