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>
extern struct sysinfo_t lib_sysinfo;
+int get_coreboot_info(struct sysinfo_t *info);
+
#endif
#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