aboutsummaryrefslogtreecommitdiff
path: root/ast27x0/uart_aspeed.c
diff options
context:
space:
mode:
Diffstat (limited to 'ast27x0/uart_aspeed.c')
-rw-r--r--ast27x0/uart_aspeed.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/ast27x0/uart_aspeed.c b/ast27x0/uart_aspeed.c
index 1ec4d7e..2a4990a 100644
--- a/ast27x0/uart_aspeed.c
+++ b/ast27x0/uart_aspeed.c
@@ -18,12 +18,6 @@
#include <uart.h>
#include <io.h>
-#define BITS_PER_LONG (sizeof(unsigned long) * 8)
-#define GENMASK(h, l) \
- (((~0UL) >> (BITS_PER_LONG - ((h) - (l) + 1))) << (l))
-
-#define BIT(x) (1UL << (x))
-
/* UART registers */
#define UART_THR 0x00
#define UART_DLL 0x00