History log of /seL4-camkes-master/projects/util_libs/libplatsupport/src/plat/hifive/uart.c
Revision Date Author Comments
# 5f213acb 02-Dec-2019 Jesse Millwood <jesse.millwood@dornerworks.com>

hifive: Fixed UART Get Character function

The previous implementation made two reads to the rxdata register: One
to check if the Data Empty flag was set and another to grab the actual
data. However, the HiFive UART's rxdata is cleared on read. So this
would return 0xff every time. Now the rxdata is read once, stored in a
variable and operations are done against the value stored in that
variable.

Change-Id: I8f6d746293d0ce39dc5dd42eca485a944f1383a2


# aafc51ff 08-Jul-2019 Kent McLeod <Kent.Mcleod@data61.csiro.au>

libplatsupport: Add hifive serial and pwm drivers

This implements the required drivers to pass sel4test