The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / board / calao / qil-a9260 / barebox-2012.07.0-qil-a9260.patch
1 From d076aa6182dc6df6bb311e60bbddb03573b9483b Mon Sep 17 00:00:00 2001
2 From: Gregory Hermant <gregory.hermant@calao-systems.com>
3 Date: Fri, 3 Aug 2012 11:25:49 +0200
4 Subject: [PATCH] Enable pull-up on Rx serial ports for the CALAO MB-QIL-A9260
5
6
7 Signed-off-by: Gregory Hermant <gregory.hermant@calao-systems.com>
8 ---
9  arch/arm/boards/qil-a9260/init.c |    6 ++++++
10  1 files changed, 6 insertions(+), 0 deletions(-)
11
12 diff --git a/arch/arm/boards/qil-a9260/init.c b/arch/arm/boards/qil-a9260/init.c
13 index 305d733..b43cace 100644
14 --- a/arch/arm/boards/qil-a9260/init.c
15 +++ b/arch/arm/boards/qil-a9260/init.c
16 @@ -196,11 +196,17 @@ device_initcall(qil_a9260_devices_init);
17  static int qil_a9260_console_init(void)
18  {
19         at91_register_uart(0, 0);
20 +       at91_set_A_periph(AT91_PIN_PB14, 1);    /* Enable pull-up on DRXD */
21 +
22         at91_register_uart(1, ATMEL_UART_CTS | ATMEL_UART_RTS
23                            | ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD
24                            | ATMEL_UART_RI);
25 +
26         at91_register_uart(2, ATMEL_UART_CTS | ATMEL_UART_RTS);
27 +       at91_set_A_periph(AT91_PIN_PB7, 1);     /* Enable pull-up on RXD1 */
28 +
29         at91_register_uart(3, ATMEL_UART_CTS | ATMEL_UART_RTS);
30 +       at91_set_A_periph(AT91_PIN_PB9, 1);     /* Enable pull-up on RXD2 */
31  
32         return 0;
33  }
34 -- 
35 1.5.6.3
36