]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
x86: Move sysinfo related to sysinfo.h
authorBin Meng <bmeng.cn@gmail.com>
Sun, 28 Feb 2016 06:57:56 +0000 (22:57 -0800)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 17 Mar 2016 02:27:21 +0000 (10:27 +0800)
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>
arch/x86/include/asm/arch-coreboot/sysinfo.h
arch/x86/include/asm/coreboot_tables.h

index 629088d49e0ec637b5241783f56b5c5c9358f035..12b3b5d6ee6732db23552984596810e6a6f0bf85 100644 (file)
@@ -56,4 +56,6 @@ struct sysinfo_t {
 
 extern struct sysinfo_t lib_sysinfo;
 
+int get_coreboot_info(struct sysinfo_t *info);
+
 #endif
index e254484e75ae958ddec32a541d3943ef22852ffc..98a95cd6de5eac23a32dbfc8c5d963e20b504bc0 100644 (file)
@@ -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