It is useful to be able to parse coreboot tables on any x86 build which is booted from coreboot. Add a new Kconfig option to enable this feature and move the code so it can be used on any board, if enabled.
Signed-off-by: Simon Glass <s...@chromium.org> --- arch/x86/Kconfig | 21 +++++++++++++++++++ arch/x86/cpu/coreboot/Makefile | 1 - arch/x86/lib/Makefile | 1 + arch/x86/lib/coreboot/Makefile | 6 ++++++ .../tables.c => lib/coreboot/cb_sysinfo.c} | 0 5 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 arch/x86/lib/coreboot/Makefile rename arch/x86/{cpu/coreboot/tables.c => lib/coreboot/cb_sysinfo.c} (100%) Applied to u-boot-dm/next, thanks!