]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: acpi: Update acpi_fill_csrt() to use acpi_ctx
authorSimon Glass <sjg@chromium.org>
Wed, 1 Dec 2021 16:03:01 +0000 (09:03 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 25 Jan 2022 18:44:36 +0000 (11:44 -0700)
commit78031ad43168d13de5c9ecf72877e8d5d35f749a
treeeec6e0cbe10e9519c6faddeef213284f92125d1e
parent85b8161b141070e5c7515edb38424ea48f023d04
x86: acpi: Update acpi_fill_csrt() to use acpi_ctx

Update this function to the newer style, so we can avoid passing and
returning an address through this function.

Also move this function out of the x86 code so it can be used by other
archs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
arch/x86/cpu/tangier/acpi.c
arch/x86/include/asm/acpi_table.h
include/acpi/acpi_table.h
lib/acpi/csrt.c