Some driver fixes for libpayload:

- fix minor bug in serial driver.
- latest USB stack fixes
- fix dead store in options.c

Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Patrick Georgi <patrick.georgi@coresystems.de>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4239 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Stefan Reinauer
2009-04-30 16:46:12 +00:00
committed by Stefan Reinauer
parent b5fb0c5c4e
commit d233f363c1
6 changed files with 35 additions and 9 deletions

View File

@ -55,8 +55,6 @@ static int get_cmos_value(u32 bitnum, u32 len, void *valptr)
u32 addr, bit;
u8 reg8;
value = valptr;
/* Convert to byte borders */
addr=(bitnum / 8);
bit=(bitnum % 8);
@ -85,7 +83,6 @@ int get_option(void *dest, char *name)
int len = strnlen(name, CMOS_MAX_NAME_LENGTH);
/* cmos entries are located right after the option table */
cmos_entry=(struct cb_cmos_entries*)((unsigned char *)option_table + option_table->header_length);
for ( cmos_entry = (struct cb_cmos_entries*)((unsigned char *)option_table + option_table->header_length);
cmos_entry->tag == CB_TAG_OPTION;