
On Wed, 11 Sept 2024 at 00:25, Patrick Rudolph patrick.rudolph@9elements.com wrote:
From: Maximilian Brune maximilian.brune@9elements.com
This moves the SPCR and DBG2 table generation into common code, so that they can be used by architectures other than x86.
Signed-off-by: Maximilian Brune maximilian.brune@9elements.com Signed-off-by: Patrick Rudolph patrick.rudolph@9elements.com Cc: Simon Glass sjg@chromium.org Cc: Bin Meng bmeng.cn@gmail.com
Changelog v2:
- Do not add new features, just move code and make it compile on 64bit.
arch/x86/include/asm/acpi_table.h | 11 -- arch/x86/lib/acpi_table.c | 174 ---------------------------- include/acpi/acpi_table.h | 11 ++ lib/acpi/acpi_table.c | 184 ++++++++++++++++++++++++++++++ 4 files changed, 195 insertions(+), 185 deletions(-)
Reviewed-by: Simon Glass sjg@chromium.org