]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: Move coreboot sysinfo parsing into generic x86 code
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:21 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:59 +0000 (13:59 +1300)
commit68e03ca21acf3192dd08e0617ea878949ea0e4dc
tree20942b44bffc986e359d260ad1a266d4bc45c703
parentf9f06e628e17b021bdd6786717b74f1751999abe
x86: Move coreboot sysinfo parsing into generic x86 code

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 <sjg@chromium.org>
arch/x86/Kconfig
arch/x86/cpu/coreboot/Makefile
arch/x86/lib/Makefile
arch/x86/lib/coreboot/Makefile [new file with mode: 0644]
arch/x86/lib/coreboot/cb_sysinfo.c [moved from arch/x86/cpu/coreboot/tables.c with 100% similarity]