Implements console and serial lbtable records compatible to cbv2 as of r3396
Signed-Off-By: Patrick Georgi <patrick@georgi-clan.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://coreboot.org/repository/coreboot-v3@691 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
parent
ae2520e4bd
commit
ef90e728ab
2 changed files with 68 additions and 0 deletions
|
|
@ -175,6 +175,28 @@ struct lb_devtree {
|
|||
u32 dev_root_ptr; /* Pointer to the root device */
|
||||
};
|
||||
|
||||
#define LB_TAG_SERIAL 0x000f
|
||||
struct lb_serial {
|
||||
u32 tag;
|
||||
u32 size;
|
||||
u16 ioport;
|
||||
u32 baud;
|
||||
};
|
||||
|
||||
#define LB_TAG_CONSOLE 0x0010
|
||||
struct lb_console {
|
||||
u32 tag;
|
||||
u32 size;
|
||||
u16 type;
|
||||
};
|
||||
|
||||
#define LB_TAG_CONSOLE_SERIAL8250 0
|
||||
#define LB_TAG_CONSOLE_VGA 1
|
||||
#define LB_TAG_CONSOLE_BTEXT 2
|
||||
#define LB_TAG_CONSOLE_LOGBUF 3
|
||||
#define LB_TAG_CONSOLE_SROM 4
|
||||
#define LB_TAG_CONSOLE_EHCI 5
|
||||
|
||||
/* The following structures are for the cmos definitions table */
|
||||
#define LB_TAG_CMOS_OPTION_TABLE 200
|
||||
/* cmos header record */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue