Adds a field to the serial port descriptor about the configured line speed.
authorPatrick Georgi <patrick@georgi-clan.de>
Sun, 29 Jun 2008 06:41:12 +0000 (06:41 +0000)
committerPatrick Georgi <patrick.georgi@coresystems.de>
Sun, 29 Jun 2008 06:41:12 +0000 (06:41 +0000)
Signed-Off-By: Patrick Georgi <patrick@georgi-clan.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1

src/arch/i386/boot/coreboot_table.c
src/include/boot/coreboot_tables.h

index 0ba09e72157154029af75058ca96c0f2ffed7499..9dd6a3299ad621ac85023c4cc017150501a8418e 100644 (file)
@@ -84,6 +84,7 @@ struct lb_serial *lb_serial(struct lb_header *header)
        serial->tag = LB_TAG_SERIAL;
        serial->size = sizeof(*serial);
        serial->ioport = TTYS0_BASE;
+       serial->baud = TTYS0_BAUD;
        return serial;
 #else
        return header;
index d2034371a600fce0417ee53e09794bbc7a09b1c0..3f8e60698e16088c2184dc23ac10bdb065070ee8 100644 (file)
@@ -145,6 +145,7 @@ struct lb_serial {
        uint32_t tag;
        uint32_t size;
        uint16_t ioport;
+       uint32_t baud;
 };
 
 #define LB_TAG_CONSOLE         0x0010