diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-02-27 22:57:56 -0800 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-03-17 10:27:21 +0800 |
commit | 1329020d2100ec29ac04d66f10bf5cb300b841c1 (patch) | |
tree | 9073e92d39e8d0478577965c521203d21ae8f9ae | |
parent | f1d6fda6d3ed0f397afebf715d9540e8666f1596 (diff) |
x86: Move sysinfo related to sysinfo.h
coreboot_tables.h should not include sysinfo related stuff.
Move those to asm/arch-coreboot/sysinfo.h.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
-rw-r--r-- | arch/x86/include/asm/arch-coreboot/sysinfo.h | 2 | ||||
-rw-r--r-- | arch/x86/include/asm/coreboot_tables.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/arch-coreboot/sysinfo.h b/arch/x86/include/asm/arch-coreboot/sysinfo.h index 629088d49e..12b3b5d6ee 100644 --- a/arch/x86/include/asm/arch-coreboot/sysinfo.h +++ b/arch/x86/include/asm/arch-coreboot/sysinfo.h @@ -56,4 +56,6 @@ struct sysinfo_t { extern struct sysinfo_t lib_sysinfo; +int get_coreboot_info(struct sysinfo_t *info); + #endif diff --git a/arch/x86/include/asm/coreboot_tables.h b/arch/x86/include/asm/coreboot_tables.h index e254484e75..98a95cd6de 100644 --- a/arch/x86/include/asm/coreboot_tables.h +++ b/arch/x86/include/asm/coreboot_tables.h @@ -262,10 +262,6 @@ struct cb_cmos_checksum { #define UNPACK_CB64(_in) \ ((((u64) _in.hi) << 32) | _in.lo) -struct sysinfo_t; - -int get_coreboot_info(struct sysinfo_t *info); - #define CBMEM_TOC_RESERVED 512 #define MAX_CBMEM_ENTRIES 16 #define CBMEM_MAGIC 0x434f5245 |