diff options
Diffstat (limited to 'payloads/libpayload/drivers/serial')
-rw-r--r-- | payloads/libpayload/drivers/serial/8250.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/drivers/serial/8250.c b/payloads/libpayload/drivers/serial/8250.c index 1fcf36dee6..9327304248 100644 --- a/payloads/libpayload/drivers/serial/8250.c +++ b/payloads/libpayload/drivers/serial/8250.c @@ -137,10 +137,10 @@ void serial_console_init(void) return; serial_init(); + serial_hardware_is_present = 1; console_add_input_driver(&consin); console_add_output_driver(&consout); - serial_hardware_is_present = 1; } void serial_putchar(unsigned int c) |