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
This commit is contained in:
parent
891f1a2650
commit
c2e8fd42b0
|
@ -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;
|
||||
|
|
|
@ -145,6 +145,7 @@ struct lb_serial {
|
|||
uint32_t tag;
|
||||
uint32_t size;
|
||||
uint16_t ioport;
|
||||
uint32_t baud;
|
||||
};
|
||||
|
||||
#define LB_TAG_CONSOLE 0x0010
|
||||
|
|
Loading…
Reference in New Issue