diff options
Diffstat (limited to 'platform/andes')
-rw-r--r-- | platform/andes/ae350/platform.c | 3 | ||||
-rw-r--r-- | platform/andes/ae350/platform.h | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/platform/andes/ae350/platform.c b/platform/andes/ae350/platform.c index 01232d0..6bd0a69 100644 --- a/platform/andes/ae350/platform.c +++ b/platform/andes/ae350/platform.c @@ -69,7 +69,8 @@ static int ae350_console_init(void) AE350_UART_FREQUENCY, AE350_UART_BAUDRATE, AE350_UART_REG_SHIFT, - AE350_UART_REG_WIDTH); + AE350_UART_REG_WIDTH, + AE350_UART_REG_OFFSET); } /* Initialize the platform interrupt controller for current HART. */ diff --git a/platform/andes/ae350/platform.h b/platform/andes/ae350/platform.h index f34ca0f..9b54816 100644 --- a/platform/andes/ae350/platform.h +++ b/platform/andes/ae350/platform.h @@ -28,6 +28,7 @@ #define AE350_UART_BAUDRATE 38400 #define AE350_UART_REG_SHIFT 2 #define AE350_UART_REG_WIDTH 0 +#define AE350_UART_REG_OFFSET 0 /*Memory and Miscellaneous Registers*/ #define CSR_MILMB 0x7c0 |