]> rtime.felk.cvut.cz Git - jailhouse.git/blob - inmates/lib/arm/uart-pl011.c
Merge remote-tracking branch 'kiszka/master'
[jailhouse.git] / inmates / lib / arm / uart-pl011.c
1 /*
2  * Jailhouse, a Linux-based partitioning hypervisor
3  *
4  * Copyright (c) ARM Limited, 2014
5  *
6  * Authors:
7  *  Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
8  *
9  * This work is licensed under the terms of the GNU GPL, version 2.  See
10  * the COPYING file in the top-level directory.
11  */
12 #include <asm/uart_pl011.h>
13 #include <mach/uart.h>
14
15 void uart_chip_init(struct uart_chip *chip)
16 {
17         chip->virt_base = UART_BASE;
18         chip->wait = uart_wait;
19         chip->write = uart_write;
20         chip->busy = uart_busy;
21         uart_init(chip);
22 }