* Patrick Georgi patrick@georgi-clan.de [080116 12:34]:
Signed-off-by: Patrick Georgi patrick@georgi-clan.de
I say: Acked-by: Stefan Reinauer stepan@coresystems.de
but lets wait to give someone else the chance to veto this.
Can you make a similar patch for v3 once its in v2?
Thanks,
Stefan
Index: src/include/boot/linuxbios_tables.h
--- src/include/boot/linuxbios_tables.h (Revision 3049) +++ src/include/boot/linuxbios_tables.h (Arbeitskopie) @@ -138,6 +138,13 @@ uint8_t string[0]; };
+#define LB_TAG_SERIAL 0x000e +struct lb_serial {
- uint32_t tag;
- uint32_t size;
- uint16_t ioport;
+};
/* The following structures are for the cmos definitions table */ #define LB_TAG_CMOS_OPTION_TABLE 200 /* cmos header record */ Index: src/arch/i386/boot/linuxbios_table.c =================================================================== --- src/arch/i386/boot/linuxbios_table.c (Revision 3049) +++ src/arch/i386/boot/linuxbios_table.c (Arbeitskopie) @@ -74,6 +74,18 @@ return mem; }
+struct lb_serial *lb_serial(struct lb_header *header) +{
- struct lb_record *rec;
- struct lb_serial *serial;
- rec = lb_new_record(header);
- serial = (struct lb_serial *)rec;
- serial->tag = LB_TAG_SERIAL;
- serial->size = sizeof(*serial);
- serial->ioport = TTYS0_BASE;
- return serial;
+}
struct lb_mainboard *lb_mainboard(struct lb_header *header) { struct lb_record *rec; @@ -406,8 +418,10 @@ * size of the linuxbios table. */
- /* Record our motheboard */
- /* Record our motherboard */ lb_mainboard(head);
- /* Record our console */
- lb_serial(head); /* Record our various random string information */ lb_strings(head);
-- coreboot mailing list coreboot@coreboot.org http://www.coreboot.org/mailman/listinfo/coreboot