sifive: Fix incorrect tx/rx ctrl defines
Happily these were never used, but they should be correct anyway. Reported by: Nicholas O'Brien <nickisobrien_gmail.com> Sponsored by: Axiado
This commit is contained in:
parent
630cb9c554
commit
76c6e771bc
@ -64,11 +64,11 @@ __FBSDID("$FreeBSD$");
|
||||
#define SFUART_TXCTRL 0x08
|
||||
#define SFUART_TXCTRL_ENABLE 0x01
|
||||
#define SFUART_TXCTRL_NSTOP 0x02
|
||||
#define SFUART_TXCTRL_TXCNT 0xb0000
|
||||
#define SFUART_TXCTRL_TXCNT 0x70000
|
||||
#define SFUART_TXCTRL_TXCNT_SHIFT 16
|
||||
#define SFUART_RXCTRL 0x0c
|
||||
#define SFUART_RXCTRL_ENABLE 0x01
|
||||
#define SFUART_RXCTRL_RXCNT 0xb0000
|
||||
#define SFUART_RXCTRL_RXCNT 0x70000
|
||||
#define SFUART_RXCTRL_RXCNT_SHIFT 16
|
||||
#define SFUART_IRQ_ENABLE 0x10
|
||||
#define SFUART_IRQ_ENABLE_TXWM 0x01
|
||||
|
Loading…
x
Reference in New Issue
Block a user