x86: Make coreboot sysinfo available to any x86 board
authorSimon Glass <sjg@chromium.org>
Mon, 15 Mar 2021 05:00:18 +0000 (18:00 +1300)
committerSimon Glass <sjg@chromium.org>
Sat, 27 Mar 2021 00:59:37 +0000 (13:59 +1300)
commite35b6497f417c60cdcaa521eb4cbd3b2bb2e8336
tree1d8fb0c753f02b03e304c1b45d0be213a9b3349b
parentad66323a58cb6279aa9e8ba521a4daf25d0cbe79
x86: Make coreboot sysinfo available to any x86 board

It is possible to boot U-Boot for chromebook_coral either 'bare metal' or
from coreboot. In the latter case we want to provide access to the coreboot
sysinfo tables. Move the definitions into a file available to any x86
board.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/coreboot/coreboot.c
arch/x86/cpu/coreboot/sdram.c
arch/x86/cpu/coreboot/tables.c
arch/x86/cpu/coreboot/timestamp.c
arch/x86/include/asm/cb_sysinfo.h [moved from arch/x86/include/asm/arch-coreboot/sysinfo.h with 100% similarity]
board/coreboot/coreboot/coreboot.c
cmd/version.c
drivers/misc/cbmem_console.c
drivers/serial/serial_coreboot.c
drivers/video/coreboot.c