From c2e8fd42b0f2d411d00893aa6e697685e345e9e6 Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sun, 29 Jun 2008 06:41:12 +0000 Subject: [PATCH] Adds a field to the serial port descriptor about the configured line speed. Signed-Off-By: Patrick Georgi Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/arch/i386/boot/coreboot_table.c | 1 + src/include/boot/coreboot_tables.h | 1 + 2 files changed, 2 insertions(+) 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