summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2016-06-28 15:36:01 -0500
committerAaron Durbin <adurbin@chromium.org>2016-06-29 23:15:37 +0200
commited114da4370ebee5126e8faf4eb0f1c9b96b32db (patch)
treef9a71af7b6a8916d554ac3e3cbcca2e9d5295124 /src
parente9657bc8dc6dc94216fcbbc9b83c12b210c32be9 (diff)
lib/nhlt: drop nhlt_soc_add_endpoint()
The nhlt_soc_add_endpoint() is no longer used. Drop its declaration. Change-Id: I3b68471650a43c5faae44bde523abca7ba250a34 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/15489 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r--src/include/nhlt.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/nhlt.h b/src/include/nhlt.h
index 3300d43d5d..17b7d1168a 100644
--- a/src/include/nhlt.h
+++ b/src/include/nhlt.h
@@ -45,7 +45,7 @@ struct nhlt_format_config;
* An example sequence:
*
* nhlt = nhlt_init()
- * ep = nhlt_soc_add_endpoint()
+ * ep = nhlt_add_endpoint()
* nhlt_endpoint_append_config(ep)
* nhlt_endpoint_add_formats(ep)
* nhlt_soc_serialize()
@@ -97,19 +97,13 @@ int nhlt_add_ssp_endpoints(struct nhlt *nhlt, int virtual_bus_id,
/*
* Add endpoint to NHLT object. Returns NULL on error.
*
- * Note that the SoC variant uses SoC-specifc types for the hardware interface
- * and device types. This is to allow the SoC code to validate its particular
- * device support for specific hardware interfaces.
- *
- * The more generic nhlt_add_endpoint() is called by the SoC code to provide
+ * generic nhlt_add_endpoint() is called by the SoC code to provide
* the specific assumptions/uses for NHLT for that platform. All fields
* are the NHLT enumerations found within this header file.
*/
struct nhlt_endpoint *nhlt_add_endpoint(struct nhlt *nhlt, int link_type,
int device_type, int dir,
uint16_t vid, uint16_t did);
-struct nhlt_endpoint *nhlt_soc_add_endpoint(struct nhlt *nhlt, int soc_hwintf,
- int soc_devtype, int dir);
/*
* Append blob of configuration to the endpoint proper. Returns 0 on