mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 15:14:43 +00:00
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:
parent
ad66323a58
commit
e35b6497f4
10 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue