[PATCH 2/2] x86: Drop nhlt_serialise()

Simon Glass sjg at chromium.org
Sat Aug 29 23:23:07 CEST 2020


This function is not actually used in U-Boot. Drop it.

Suggested-by: Bin Meng <bmeng.cn at gmail.com>

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 arch/x86/include/asm/acpi_nhlt.h | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/arch/x86/include/asm/acpi_nhlt.h b/arch/x86/include/asm/acpi_nhlt.h
index 47203213818..2c44196317b 100644
--- a/arch/x86/include/asm/acpi_nhlt.h
+++ b/arch/x86/include/asm/acpi_nhlt.h
@@ -137,14 +137,6 @@ int nhlt_endpoint_add_formats(struct nhlt_endpoint *endpoint,
  */
 void nhlt_next_instance(struct nhlt *nhlt, int link_type);
 
-/*
- * Serialize NHLT object to ACPI table. Take in the beginning address of where
- * the table will reside and return the address of the next ACPI table. On
- * error 0 will be returned. The NHLT object is no longer valid after this
- * function is called.
- */
-uintptr_t nhlt_serialise(struct nhlt *nhlt, uintptr_t acpi_addr);
-
 /*
  * Serialize NHLT object to ACPI table. Take in the beginning address of where
  * the table will reside oem_id and oem_table_id and return the address of the
-- 
2.28.0.402.g5ffc5be6b7-goog



More information about the U-Boot mailing list