#include <coreboot_tables.h>
#include "coreinfo.h"
+#ifdef CONFIG_MODULE_COREBOOT
+
#define MAX_MEMORY_COUNT 5
static struct {
struct cb_record *rec = (struct cb_record *)ptr;
switch (rec->tag) {
+ case CB_TAG_FORWARD:
+ return parse_header((void *)(unsigned long)((struct cb_forward *)rec)->forward, 1);
+ break;
case CB_TAG_MEMORY:
parse_memory(ptr);
break;
.init = coreboot_module_init,
.redraw = coreboot_module_redraw,
};
+
+#else
+
+struct coreinfo_module coreboot_module = {
+};
+
+#endif