diff options
author | Hao Wu <wuhaotsh@google.com> | 2025-07-07 11:09:25 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-07 11:09:25 -0700 |
commit | c076c6bc0b74bff38f43bf28d9df2ff9bde55ca8 (patch) | |
tree | a44fdfa838ed794fb004d7b9505771d11af0e2cb /ast27x0/uart_aspeed.c | |
parent | d6e3386709b3e49322a94ffadc2aaab9944ab77b (diff) | |
parent | 80768e454d548a7f7f53374a3a0ff8ec4bbae778 (diff) | |
download | vbootrom-master.zip vbootrom-master.tar.gz vbootrom-master.tar.bz2 |
ast27x0: Initialize and enable SSP/TSP using SCU
Diffstat (limited to 'ast27x0/uart_aspeed.c')
-rw-r--r-- | ast27x0/uart_aspeed.c | 6 |
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 |