summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorHarsha Priya <harhapriya.n@intel.com>2018-05-03 18:07:40 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-05-09 10:06:04 +0000
commit5c31511f35ad63f034fd10dd458a435eee162b8d (patch)
tree55eaa1ba4c9f7aeb0c49c423acaa1b12f732796a /src/include
parent3b755c20f87bd46d59912496c1c595e5ebeaa6d5 (diff)
downloadcoreboot-5c31511f35ad63f034fd10dd458a435eee162b8d.tar.xz
lib/nhlt: add support for passing subsystem_id to endpoint's structure
This patch adds subsystem_id to nhlt structure whose value is passed on to the endpoint's structure. Its default value is retained to be NHLT_SSID. Change-Id: Iad53f27e958f50e02e928cd8fa60d8397ca0eb06 Signed-off-by: Harsha Priya <harshapriya.n@intel.com> Reviewed-on: https://review.coreboot.org/26046 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nhlt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/nhlt.h b/src/include/nhlt.h
index 5b72320f02..a361ed8fda 100644
--- a/src/include/nhlt.h
+++ b/src/include/nhlt.h
@@ -298,6 +298,7 @@ struct nhlt_endpoint {
#define MAX_ENDPOINTS 8
struct nhlt {
+ uint32_t subsystem_id;
uint8_t num_endpoints;
struct nhlt_endpoint endpoints[MAX_ENDPOINTS];
uint8_t current_instance_id[NHLT_MAX_LINK_TYPES];