diff options
author | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-03-07 09:27:31 -0800 |
---|---|---|
committer | Nathaniel Graff <nathaniel.graff@sifive.com> | 2019-03-07 09:27:31 -0800 |
commit | f695df295da82c8ef801906ad8b00b0e8afa7502 (patch) | |
tree | cb0a9be10abe32a014baf2fa7903b9070461a7ad /bsp/include/sifive/devices/uart.h | |
parent | 90ab2c8561eb532b382206c8bf3ec1af74f18257 (diff) |
Remove legacy BSP
Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com>
Diffstat (limited to 'bsp/include/sifive/devices/uart.h')
-rw-r--r-- | bsp/include/sifive/devices/uart.h | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/bsp/include/sifive/devices/uart.h b/bsp/include/sifive/devices/uart.h deleted file mode 100644 index 71bea6f..0000000 --- a/bsp/include/sifive/devices/uart.h +++ /dev/null @@ -1,27 +0,0 @@ -// See LICENSE for license details. - -#ifndef _SIFIVE_UART_H -#define _SIFIVE_UART_H - -/* Register offsets */ -#define UART_REG_TXFIFO 0x00 -#define UART_REG_RXFIFO 0x04 -#define UART_REG_TXCTRL 0x08 -#define UART_REG_RXCTRL 0x0c -#define UART_REG_IE 0x10 -#define UART_REG_IP 0x14 -#define UART_REG_DIV 0x18 - -/* TXCTRL register */ -#define UART_TXEN 0x1 -#define UART_TXWM(x) (((x) & 0xffff) << 16) - -/* RXCTRL register */ -#define UART_RXEN 0x1 -#define UART_RXWM(x) (((x) & 0xffff) << 16) - -/* IP register */ -#define UART_IP_TXWM 0x1 -#define UART_IP_RXWM 0x2 - -#endif /* _SIFIVE_UART_H */ |