diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2009-04-30 16:46:12 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2009-04-30 16:46:12 +0000 |
commit | d233f363c129dae2ba5fd7ac536cf92fb4c2dd6e (patch) | |
tree | 60d3123a957d313d583783a42cfda4b0621dce85 /payloads/libpayload/drivers/serial.c | |
parent | b5fb0c5c4eda2329d848aedcf4f7e8b6dc8012b2 (diff) |
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
Diffstat (limited to 'payloads/libpayload/drivers/serial.c')
-rw-r--r-- | payloads/libpayload/drivers/serial.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/serial.c b/payloads/libpayload/drivers/serial.c index e58f0fc228..9fd7acf6be 100644 --- a/payloads/libpayload/drivers/serial.c +++ b/payloads/libpayload/drivers/serial.c @@ -55,7 +55,7 @@ void serial_hardware_init(int port, int speed, int word_bits, int parity, int st outb(DIVISOR(speed) >> 8 & 0xFF, port + 1); /* Restore the previous value of the divisor. */ - outb(reg &= ~0x80, port + 0x03); + outb(reg & ~0x80, port + 0x03); } static struct console_input_driver consin = { |