Changeset 99c2c69e in mainline for kernel/arch/arm32/src/mach/beaglebone/beaglebone.c
- Timestamp:
- 2013-09-13T00:36:30Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67fbd5e
- Parents:
- 7f84430 (diff), 11d41be5 (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/beaglebone/beaglebone.c
r7f84430 r99c2c69e 63 63 64 64 static struct beaglebone { 65 am335x_irc_regs_t *irc_addr;65 omap_irc_regs_t *irc_addr; 66 66 am335x_cm_per_regs_t *cm_per_addr; 67 67 am335x_cm_dpll_regs_t *cm_dpll_addr; … … 104 104 105 105 /* Initialize the interrupt controller */ 106 am335x_irc_init(bbone.irc_addr);106 omap_irc_init(bbone.irc_addr); 107 107 } 108 108 … … 153 153 } 154 154 /* Enable the interrupt */ 155 am335x_irc_enable(bbone.irc_addr, AM335x_DMTIMER2_IRQ);155 omap_irc_enable(bbone.irc_addr, AM335x_DMTIMER2_IRQ); 156 156 /* Start the timer */ 157 157 am335x_timer_start(&bbone.timer); … … 176 176 static void bbone_irq_exception(unsigned int exc_no, istate_t *istate) 177 177 { 178 const unsigned inum = am335x_irc_inum_get(bbone.irc_addr);178 const unsigned inum = omap_irc_inum_get(bbone.irc_addr); 179 179 180 180 irq_t *irq = irq_dispatch_and_lock(inum); … … 187 187 } 188 188 189 am335x_irc_irq_ack(bbone.irc_addr);189 omap_irc_irq_ack(bbone.irc_addr); 190 190 } 191 191 … … 214 214 indev_t *srln = srln_wire(srln_instance, sink); 215 215 omap_uart_input_wire(&bbone.uart, srln); 216 am335x_irc_enable(bbone.irc_addr, AM335x_UART0_IRQ);216 omap_irc_enable(bbone.irc_addr, AM335x_UART0_IRQ); 217 217 } 218 218 #endif
Note:
See TracChangeset
for help on using the changeset viewer.