Commit 1329020d2100ec29ac04d66f10bf5cb300b841c1

Authored by Bin Meng
1 parent f1d6fda6d3

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>

Showing 2 changed files with 2 additions and 4 deletions Side-by-side Diff

arch/x86/include/asm/arch-coreboot/sysinfo.h
... ... @@ -56,5 +56,7 @@
56 56  
57 57 extern struct sysinfo_t lib_sysinfo;
58 58  
  59 +int get_coreboot_info(struct sysinfo_t *info);
  60 +
59 61 #endif
arch/x86/include/asm/coreboot_tables.h
... ... @@ -262,10 +262,6 @@
262 262 #define UNPACK_CB64(_in) \
263 263 ((((u64) _in.hi) << 32) | _in.lo)
264 264  
265   -struct sysinfo_t;
266   -
267   -int get_coreboot_info(struct sysinfo_t *info);
268   -
269 265 #define CBMEM_TOC_RESERVED 512
270 266 #define MAX_CBMEM_ENTRIES 16
271 267 #define CBMEM_MAGIC 0x434f5245