Changeset 89ac5513 in mainline for kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c
- Timestamp:
- 2013-06-23T19:54:53Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- ddb1922
- Parents:
- 3abf0760 (diff), 96cbd18 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/arm32/src/mach/beagleboardxm/beagleboardxm.c
r3abf0760 r89ac5513 61 61 static struct beagleboard { 62 62 amdm37x_irc_regs_t *irc_addr; 63 amdm37x_uart_t uart;63 omap_uart_t uart; 64 64 amdm37x_gpt_t timer; 65 65 } beagleboard; … … 167 167 static void bbxm_output_init(void) 168 168 { 169 #ifdef CONFIG_OMAP_UART 169 170 /* UART3 is wired to external RS232 connector */ 170 const bool ok = amdm37x_uart_init(&beagleboard.uart,171 const bool ok = omap_uart_init(&beagleboard.uart, 171 172 AMDM37x_UART3_IRQ, AMDM37x_UART3_BASE_ADDRESS, AMDM37x_UART3_SIZE); 172 173 if (ok) { 173 174 stdout_wire(&beagleboard.uart.outdev); 174 175 } 176 #endif 175 177 } 176 178 177 179 static void bbxm_input_init(void) 178 180 { 181 #ifdef CONFIG_OMAP_UART 179 182 srln_instance_t *srln_instance = srln_init(); 180 183 if (srln_instance) { 181 184 indev_t *sink = stdin_wire(); 182 185 indev_t *srln = srln_wire(srln_instance, sink); 183 amdm37x_uart_input_wire(&beagleboard.uart, srln);186 omap_uart_input_wire(&beagleboard.uart, srln); 184 187 amdm37x_irc_enable(beagleboard.irc_addr, AMDM37x_UART3_IRQ); 185 188 } 189 #endif 186 190 } 187 191
Note:
See TracChangeset
for help on using the changeset viewer.