[PATCH] bsps/riscv/riscv: Fix fe310_uart_read

Sebastian Huber sebastian.huber at embedded-brains.de
Mon Sep 19 15:11:56 UTC 2022


On 18/09/2022 21:22, Alan Cudmore wrote:
> Note: Resending after learning how to use git send-email, please disregard previous message.
> 
> This fixes the riscv fe310 console driver fe310_uart_read function. The function
> reads the RX status/data register to check if data is available, but discards
> the data and reads it a seconds time.
> Also cleared the interrupt enable bit in the first_open function.
> 
> Close #4719

Thanks, I checked it in.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/


More information about the devel mailing list