diff options
author | Christian Cunningham <cc@localhost> | 2021-12-03 10:13:17 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-03 10:13:17 -0700 |
commit | 2243c481dfc335f09e270783ce9fda39a9a0da57 (patch) | |
tree | c7340f8b8067ddcb9fc268c6bf332f77990c7fa7 /src/drivers/uart.S | |
parent | 2164398e58925d23a65314f3a5434e40a1459041 (diff) |
Removed old UART init
Replaced by sysinit
Diffstat (limited to 'src/drivers/uart.S')
-rw-r--r-- | src/drivers/uart.S | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/drivers/uart.S b/src/drivers/uart.S index 0864b7e..e476799 100644 --- a/src/drivers/uart.S +++ b/src/drivers/uart.S @@ -1,27 +1,5 @@ .section ".text" -.globl uart_init -uart_init: - //*UART0_IMSC = 1 << 4; - // IGNORE OVERRUN - mov r2, #0x1038 - movt r2, #0x3F20 - mov r3, #0b10000 - str r3, [r2] - //*IRQ_ENABLE2 = 1 << 25; - mov r2, #0xB214 - movt r2, #0x3F00 - mov r3, #0 - movt r3, #0b1000000000 - str r3, [r2] - //*GPU_INTERRUPTS_ROUTING = 0x00; - // Route GPU interrupts to Core0 - mov r2, #0x000C - movt r2, #0x4000 - eor r3, r3 - str r3, [r2] - bx lr - .globl uart_char uart_char: mov r2, #0x1000 |