Changes in kernel/arch/arm32/src/mach/beaglebone/beaglebone.c [69483af:9c56996] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/beaglebone/beaglebone.c
r69483af r9c56996 68 68 am335x_ctrl_module_t *ctrl_module; 69 69 am335x_timer_t timer; 70 omap_uart_t uart;70 am335x_uart_t uart; 71 71 } bbone; 72 72 … … 195 195 static void bbone_output_init(void) 196 196 { 197 #ifdef CONFIG_OMAP_UART 198 const bool ok = omap_uart_init(&bbone.uart, 197 const bool ok = am335x_uart_init(&bbone.uart, 199 198 AM335x_UART0_IRQ, AM335x_UART0_BASE_ADDRESS, 200 199 AM335x_UART0_SIZE); … … 202 201 if (ok) 203 202 stdout_wire(&bbone.uart.outdev); 204 #endif205 203 } 206 204 207 205 static void bbone_input_init(void) 208 206 { 209 #ifdef CONFIG_OMAP_UART210 207 srln_instance_t *srln_instance = srln_init(); 211 208 if (srln_instance) { 212 209 indev_t *sink = stdin_wire(); 213 210 indev_t *srln = srln_wire(srln_instance, sink); 214 omap_uart_input_wire(&bbone.uart, srln);211 am335x_uart_input_wire(&bbone.uart, srln); 215 212 am335x_irc_enable(bbone.irc_addr, AM335x_UART0_IRQ); 216 213 } 217 #endif218 214 } 219 215
Note:
See TracChangeset
for help on using the changeset viewer.