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>
This commit is contained in:
Aaron Durbin 2016-06-28 15:36:01 -05:00
parent e9657bc8dc
commit ed114da437
1 changed files with 2 additions and 8 deletions

View File

@ -45,7 +45,7 @@ struct nhlt_format_config;
* An example sequence: * An example sequence:
* *
* nhlt = nhlt_init() * nhlt = nhlt_init()
* ep = nhlt_soc_add_endpoint() * ep = nhlt_add_endpoint()
* nhlt_endpoint_append_config(ep) * nhlt_endpoint_append_config(ep)
* nhlt_endpoint_add_formats(ep) * nhlt_endpoint_add_formats(ep)
* nhlt_soc_serialize() * 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. * Add endpoint to NHLT object. Returns NULL on error.
* *
* Note that the SoC variant uses SoC-specifc types for the hardware interface * generic nhlt_add_endpoint() is called by the SoC code to provide
* 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
* the specific assumptions/uses for NHLT for that platform. All fields * the specific assumptions/uses for NHLT for that platform. All fields
* are the NHLT enumerations found within this header file. * are the NHLT enumerations found within this header file.
*/ */
struct nhlt_endpoint *nhlt_add_endpoint(struct nhlt *nhlt, int link_type, struct nhlt_endpoint *nhlt_add_endpoint(struct nhlt *nhlt, int link_type,
int device_type, int dir, int device_type, int dir,
uint16_t vid, uint16_t did); 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 * Append blob of configuration to the endpoint proper. Returns 0 on