Changeset ebb3538 in mainline for kernel/arch/arm64/src/mach/hikey960/hikey960.c
- Timestamp:
- 2021-09-15T15:01:03Z (3 years ago)
- Branches:
- master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ecac7e
- Parents:
- 8ce56a6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm64/src/mach/hikey960/hikey960.c
r8ce56a6 rebb3538 122 122 } 123 123 124 static void hikey960_early_uart_output(char32_t c) 125 { 126 volatile uint32_t *uartdr = (volatile uint32_t *) 127 PA2KA(HIKEY960_UART_ADDRESS); 128 volatile uint32_t *uartfr = (volatile uint32_t *) 129 PA2KA(HIKEY960_UART_ADDRESS + 24); 130 131 while (*uartfr & 0x20U) { 132 } 133 134 *uartdr = c; 135 } 136 124 137 struct arm_machine_ops hikey960_machine_ops = { 125 138 hikey960_init, … … 129 142 hikey960_enable_vtimer_irq, 130 143 hikey960_get_irq_count, 131 hikey960_get_platform_name 144 hikey960_get_platform_name, 145 hikey960_early_uart_output 132 146 }; 133 147
Note:
See TracChangeset
for help on using the changeset viewer.