]> git.dujemihanovic.xyz Git - u-boot.git/commit
acpi: Move MCFG implementation to common lib
authorMoritz Fischer <moritzf@google.com>
Sat, 5 Feb 2022 20:17:45 +0000 (12:17 -0800)
committerSimon Glass <sjg@chromium.org>
Wed, 9 Feb 2022 19:30:13 +0000 (12:30 -0700)
commit058fb9f5ffc422f987c33adb01f8fa6e4434eff8
tree74c1e5bf3e09f183f1f32cb6a0d21ac167b267aa
parentab2ffe735979b5e6ef417adbd6019fa603de1715
acpi: Move MCFG implementation to common lib

MCFG tables are used on multiple arches. Move to common ACPI lib.

Cc: Simon Glass <sjg@chromium.org>
Signed-off-by: Moritz Fischer <moritzf@google.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Use sizeof(*mcfg) instead of sizeof(*header)
Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/intel_common/acpi.c
arch/x86/cpu/tangier/acpi.c
arch/x86/include/asm/acpi_table.h
arch/x86/lib/acpi_table.c
lib/acpi/Makefile
lib/acpi/mcfg.c [new file with mode: 0644]