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>
This commit is contained in:
Harsha Priya 2018-05-07 11:39:11 -07:00 committed by Patrick Georgi
parent 5c31511f35
commit 78ccdbf15b
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,8 @@
#include <vendorcode/google/chromeos/chromeos.h> #include <vendorcode/google/chromeos/chromeos.h>
#include <soc/nhlt.h> #include <soc/nhlt.h>
#define SUBSYSTEM_ID 0x006B
static const char *oem_id_maxim = "GOOGLE"; static const char *oem_id_maxim = "GOOGLE";
static const char *oem_table_id_maxim = "EVEMAX"; static const char *oem_table_id_maxim = "EVEMAX";
@ -42,6 +44,8 @@ static unsigned long mainboard_write_acpi_tables(
if (!nhlt) if (!nhlt)
return start_addr; return start_addr;
nhlt->subsystem_id = SUBSYSTEM_ID;
/* 4 Channel DMIC array */ /* 4 Channel DMIC array */
if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4)) if (nhlt_soc_add_rt5514(nhlt, AUDIO_LINK_SSP0, 4))
printk(BIOS_ERR, "Couldn't add rt5514.\n"); printk(BIOS_ERR, "Couldn't add rt5514.\n");