]> git.baikalelectronics.ru Git - uboot.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)
commite46b6b8753ea9fc20d6beb76e7e367e661b6525b
treeeec6e0cbe10e9519c6faddeef213284f92125d1e
parentab4a790c2834f264bf7dc1ea00733a4659fb6e3c
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