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>
This commit is contained in:
Simon Glass 2021-03-15 18:00:18 +13:00
parent ad66323a58
commit e35b6497f4
10 changed files with 9 additions and 9 deletions

View file

@ -14,7 +14,7 @@
#include <asm/io.h>
#include <asm/msr.h>
#include <asm/mtrr.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#include <asm/arch/timestamp.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -8,7 +8,7 @@
#include <common.h>
#include <init.h>
#include <asm/e820.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -8,7 +8,7 @@
#include <common.h>
#include <net.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#include <asm/global_data.h>
DECLARE_GLOBAL_DATA_PTR;

View file

@ -8,7 +8,7 @@
#include <common.h>
#include <bootstage.h>
#include <asm/arch/timestamp.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#include <linux/compiler.h>
struct timestamp_entry {

View file

@ -4,7 +4,7 @@
*/
#include <common.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#include <asm/global_data.h>
#include <init.h>
#include <smbios.h>

View file

@ -9,7 +9,7 @@
#include <version.h>
#include <linux/compiler.h>
#ifdef CONFIG_SYS_COREBOOT
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
#endif
const char __weak version_string[] = U_BOOT_VERSION_STRING;

View file

@ -9,7 +9,7 @@
#error This driver requires coreboot
#endif
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
struct cbmem_console {
u32 buffer_size;

View file

@ -9,7 +9,7 @@
#include <dm.h>
#include <ns16550.h>
#include <serial.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
static int coreboot_of_to_plat(struct udevice *dev)
{

View file

@ -7,7 +7,7 @@
#include <dm.h>
#include <vbe.h>
#include <video.h>
#include <asm/arch/sysinfo.h>
#include <asm/cb_sysinfo.h>
static int save_vesa_mode(struct cb_framebuffer *fb,
struct vesa_mode_info *vesa)