Changeset 088b334 in mainline for kernel/genarch/include/drivers/amdm37x/uart_regs.h
- Timestamp:
- 2013-02-24T11:24:16Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8ab339e, b42c8d8
- Parents:
- df64dbc (diff), 9ad289d (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 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/drivers/amdm37x/uart_regs.h
rdf64dbc r088b334 31 31 /** 32 32 * @file 33 * @brief Texas Instruments AMDM37x on-chip interrupt controller driver.33 * @brief Texas Instruments AMDM37x UART memory mapped registers. 34 34 */ 35 35 … … 40 40 #include <console/chardev.h> 41 41 #include <ddi/irq.h> 42 43 /* AMDM37x TRM p. 2950 */44 #define AMDM37x_UART1_BASE_ADDRESS 0x4806a00045 #define AMDM37x_UART1_SIZE 102446 #define AMDM37x_UART1_IRQ 72 /* AMDM37x TRM p. 2418 */47 48 #define AMDM37x_UART2_BASE_ADDRESS 0x4806b00049 #define AMDM37x_UART2_SIZE 102450 #define AMDM37x_UART2_IRQ 73 /* AMDM37x TRM p. 2418 */51 52 #define AMDM37x_UART3_BASE_ADDRESS 0x4902000053 #define AMDM37x_UART3_SIZE 102454 #define AMDM37x_UART3_IRQ 74 /* AMDM37x TRM p. 2418 */55 56 #define AMDM37x_UART4_BASE_ADDRESS 0x4904200057 #define AMDM37x_UART4_SIZE 102458 #define AMDM37x_UART4_IRQ 80 /* AMDM37x TRM p. 2418 */59 42 60 43 typedef struct { … … 343 326 344 327 /** BOF control register (IrDA only) */ 345 ioport32_t blr; /* UART3 s epcific */328 ioport32_t blr; /* UART3 specific */ 346 329 #define AMDM37x_IRDA_BLR_XBOF_TYPE_FLAG (1 << 6) 347 330 #define AMDM37x_IRDA_BLR_STS_FIFO_RESET (1 << 7) … … 442 425 } amdm37x_uart_regs_t; 443 426 444 typedef struct {445 amdm37x_uart_regs_t *regs;446 indev_t *indev;447 outdev_t outdev;448 irq_t irq;449 } amdm37x_uart_t;450 451 452 bool amdm37x_uart_init(amdm37x_uart_t *, inr_t, uintptr_t, size_t);453 void amdm37x_uart_input_wire(amdm37x_uart_t *, indev_t *);454 455 427 #endif 456 428
Note:
See TracChangeset
for help on using the changeset viewer.