Mirror Fix coreinfo usage of cb_info
[coreboot.git] / payloads / coreinfo / coreboot_module.c
index 16a63c544df74ee975b075459ba716cdd2004ee8..dd589acee2b823a1b458b61cb393103d287deee7 100644 (file)
@@ -68,7 +68,7 @@ int coreboot_module_redraw(WINDOW *win)
 
        if (cb_info.serial.tag != 0x0) {
                mvwprintw(win, row++, 1, "Serial Port I/O base: 0x%x",
-                         cb_info.serial.ioport);
+                         cb_info.serial.baseaddr);
        }
 
        if (cb_info.console.tag != 0x0) {
@@ -203,6 +203,9 @@ static int parse_header(void *addr, int len)
                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;