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