diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2008-06-29 06:41:12 +0000 |
---|---|---|
committer | Patrick Georgi <patrick.georgi@coresystems.de> | 2008-06-29 06:41:12 +0000 |
commit | c2e8fd42b0f2d411d00893aa6e697685e345e9e6 (patch) | |
tree | c1899f0ab94c0ea43a92696180854b0ee998040c | |
parent | 891f1a2650c5b32c65103fa9a5659953fab34157 (diff) |
Adds a field to the serial port descriptor about the configured line speed.
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
-rw-r--r-- | src/arch/i386/boot/coreboot_table.c | 1 | ||||
-rw-r--r-- | src/include/boot/coreboot_tables.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/arch/i386/boot/coreboot_table.c b/src/arch/i386/boot/coreboot_table.c index 0ba09e7215..9dd6a3299a 100644 --- a/src/arch/i386/boot/coreboot_table.c +++ b/src/arch/i386/boot/coreboot_table.c @@ -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; diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h index d2034371a6..3f8e60698e 100644 --- a/src/include/boot/coreboot_tables.h +++ b/src/include/boot/coreboot_tables.h @@ -145,6 +145,7 @@ struct lb_serial { uint32_t tag; uint32_t size; uint16_t ioport; + uint32_t baud; }; #define LB_TAG_CONSOLE 0x0010 |