Skip to content

Commit

Permalink
LiteX: UART: switch to 32-bit CSR alignment
Browse files Browse the repository at this point in the history
Signed-off-by: Gabriel Somlo <gsomlo@gmail.com>
  • Loading branch information
gsomlo committed Jun 1, 2020
1 parent d18955e commit e66bf2e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion machine/uart_lr.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#include "uart_lr.h"
#include "fdt.h"

volatile unsigned long *uart_lr;
volatile unsigned int *uart_lr;

#define UART_REG_RXTX 0
#define UART_REG_TXFULL 1
Expand Down
2 changes: 1 addition & 1 deletion machine/uart_lr.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

#include <stdint.h>

extern volatile unsigned long *uart_lr;
extern volatile unsigned int *uart_lr;

void uart_lr_putchar(uint8_t ch);
int uart_lr_getchar();
Expand Down

0 comments on commit e66bf2e

Please sign in to comment.