Changeset b38c079 in mainline for kernel/genarch/include/genarch/drivers/am335x/uart.h
- Timestamp:
- 2013-05-01T00:08:28Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7ca8422b
- Parents:
- 9e7898e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/drivers/am335x/uart.h
r9e7898e rb38c079 37 37 #define _KERN_AM335X_UART_H_ 38 38 39 #include "uart_regs.h"39 #include <genarch/drivers/omap/uart.h> 40 40 41 41 #define AM335x_UART0_BASE_ADDRESS 0x44E09000 … … 63 63 #define AM335x_UART5_IRQ 46 64 64 65 typedef struct {66 am335x_uart_regs_t *regs;67 indev_t *indev;68 outdev_t outdev;69 irq_t irq;70 } am335x_uart_t;71 72 #ifdef CONFIG_AM335X_UART73 extern bool am335x_uart_init(am335x_uart_t *uart, inr_t interrupt,74 uintptr_t addr, size_t size);75 76 extern void am335x_uart_input_wire(am335x_uart_t *uart, indev_t *indev);77 #else78 static bool am335x_uart_init(am335x_uart_t *uart, inr_t interrupt,79 uintptr_t addr, size_t size)80 { return true; }81 82 static void am335x_uart_input_wire(am335x_uart_t *uart, indev_t *indev) {}83 #endif84 85 65 #endif 86 66
Note:
See TracChangeset
for help on using the changeset viewer.