[PATCH 06/32] x86: acpi: Store the ACPI context in global_data
Bin Meng
bmeng.cn at gmail.com
Fri Oct 16 11:55:35 CEST 2020
On Mon, Sep 28, 2020 at 12:26 PM Simon Glass <sjg at chromium.org> wrote:
>
> At present we create the ACPI context but then drop it after generation of
> tables is complete. This is annoying because we have to then search for
> tables later.
>
> To fix this, allocate the context and store it in global_data.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> arch/x86/lib/acpi_table.c | 7 ++++++-
> include/asm-generic/global_data.h | 5 +++++
> 2 files changed, 11 insertions(+), 1 deletion(-)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list