Changeset 0cd13bce in rtems
- Timestamp:
- Sep 10, 2014, 8:42:47 AM (6 years ago)
- Branches:
- 4.11, 5, master
- Children:
- 4768ae0f
- Parents:
- 90f44cd2
- git-author:
- Sebastian Huber <sebastian.huber@…> (09/10/14 08:42:47)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (09/10/14 08:43:48)
- Location:
- c/src/lib/libbsp/arm/altera-cyclone-v
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/arm/altera-cyclone-v/configure.ac
r90f44cd2 r0cd13bce 47 47 RTEMS_BSPOPTS_HELP([CYCLONE_V_UART_BAUD],[baud for UARTs]) 48 48 49 RTEMS_BSPOPTS_SET([BSP_USE_UART_INTERRUPTS],[*],[1]) 50 RTEMS_BSPOPTS_HELP([BSP_USE_UART_INTERRUPTS],[enable usage of interrupts for the UART modules]) 51 49 52 RTEMS_BSPOPTS_SET([CYCLONE_V_NO_I2C],[*],[1]) 50 53 RTEMS_BSPOPTS_HELP([CYCLONE_V_NO_I2C], -
c/src/lib/libbsp/arm/altera-cyclone-v/console/console-config.c
r90f44cd2 r0cd13bce 27 27 #include "socal/hps.h" 28 28 29 bool altera_cyclone_v_uart_probe( int minor ); 29 #ifdef BSP_USE_UART_INTERRUPTS 30 #define DEVICE_FNS &ns16550_fns 31 #else 32 #define DEVICE_FNS &ns16550_fns_polled 33 #endif 34 35 static bool altera_cyclone_v_uart_probe( int minor ); 30 36 31 37 static uint8_t altera_cyclone_v_uart_get_register(uintptr_t addr, uint8_t i) … … 48 54 .sDeviceName = "/dev/ttyS0", 49 55 .deviceType = SERIAL_NS16550, 50 .pDeviceFns = &ns16550_fns,56 .pDeviceFns = DEVICE_FNS, 51 57 .deviceProbe = altera_cyclone_v_uart_probe, 52 58 .pDeviceFlow = NULL, … … 69 75 .sDeviceName = "/dev/ttyS1", 70 76 .deviceType = SERIAL_NS16550, 71 .pDeviceFns = &ns16550_fns,77 .pDeviceFns = DEVICE_FNS, 72 78 .deviceProbe = altera_cyclone_v_uart_probe, 73 79 .pDeviceFlow = NULL,
Note: See TracChangeset
for help on using the changeset viewer.