aboutsummaryrefslogtreecommitdiff
path: root/ast27x0/uart_aspeed.c
diff options
context:
space:
mode:
authorHao Wu <wuhaotsh@google.com>2025-07-07 11:09:25 -0700
committerGitHub <noreply@github.com>2025-07-07 11:09:25 -0700
commitc076c6bc0b74bff38f43bf28d9df2ff9bde55ca8 (patch)
treea44fdfa838ed794fb004d7b9505771d11af0e2cb /ast27x0/uart_aspeed.c
parentd6e3386709b3e49322a94ffadc2aaab9944ab77b (diff)
parent80768e454d548a7f7f53374a3a0ff8ec4bbae778 (diff)
downloadvbootrom-master.zip
vbootrom-master.tar.gz
vbootrom-master.tar.bz2
Merge pull request #8 from jamin-aspeed/coprocessorHEADmaster
ast27x0: Initialize and enable SSP/TSP using SCU
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