UPSTREAM: lib/nhlt: add support for setting the oem_revision
In the ACPI header there's an OEM revision field that was previously just being implicitly set to 0. Allow for a board to provide a non-zero value for this field. BUG=None BRANCH=None TEST=None Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/17650 Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com> Change-Id: Icd40c1c162c2645b3990a6f3361c592706251f82 Reviewed-on: https://chromium-review.googlesource.com/416159 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
e75c553a4d
commit
d35232a997
5 changed files with 15 additions and 9 deletions
|
|
@ -162,7 +162,8 @@ uintptr_t nhlt_serialize(struct nhlt *nhlt, uintptr_t acpi_addr);
|
|||
* valid after thisfunction is called.
|
||||
*/
|
||||
uintptr_t nhlt_serialize_oem_overrides(struct nhlt *nhlt, uintptr_t acpi_addr,
|
||||
const char *oem_id, const char *oem_table_id);
|
||||
const char *oem_id, const char *oem_table_id,
|
||||
uint32_t oem_revision);
|
||||
|
||||
/*
|
||||
* While very similar to nhlt_serialize() the SoC specific function allows
|
||||
|
|
@ -177,7 +178,8 @@ uintptr_t nhlt_soc_serialize(struct nhlt *nhlt, uintptr_t acpi_addr);
|
|||
* as updating ACPI field references for the serialized structure.
|
||||
*/
|
||||
uintptr_t nhlt_soc_serialize_oem_overrides(struct nhlt *nhlt,
|
||||
uintptr_t acpi_addr, const char *oem_id, const char *oem_table_id);
|
||||
uintptr_t acpi_addr, const char *oem_id, const char *oem_table_id,
|
||||
uint32_t oem_revision);
|
||||
|
||||
/* Link and device types. */
|
||||
enum {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue