uart: Move generic API to root directory of include
Only driver specific public headers should be found in include/drivers. All generic API are found in include/ directory. Change-Id: Ic50931987bb9460fd4a3843abc6f5de107faf045 Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
This commit is contained in:
parent
82c958581e
commit
17e06fb457
@ -25,7 +25,7 @@ for the generic arc platform.
|
||||
#include <nanokernel.h>
|
||||
#include <board.h>
|
||||
#include <init.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
/* Cannot use microkernel, since only nanokernel is supported */
|
||||
#if defined(CONFIG_MICROKERNEL)
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "board.h"
|
||||
|
||||
#ifdef CONFIG_K20_UART
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/k20_pcr.h>
|
||||
#include <drivers/k20_uart.h>
|
||||
#include <console/uart_console.h>
|
||||
|
||||
@ -27,7 +27,7 @@ for the fsl_frdm_k64f platform.
|
||||
#include <init.h>
|
||||
#include <board.h>
|
||||
#include <drivers/k20_mcg.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/k20_pcr.h>
|
||||
#include <drivers/k20_sim.h>
|
||||
#include <drivers/k6x_mpu.h>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "board.h"
|
||||
|
||||
#ifdef CONFIG_STELLARIS_UART
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart_console.h>
|
||||
#include <serial/stellarisUartDrv.h>
|
||||
|
||||
|
||||
@ -31,7 +31,7 @@ Handlers for the secondary serial port have not been added.
|
||||
#include <misc/printk.h>
|
||||
#include <misc/__assert.h>
|
||||
#include "board.h"
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/ioapic.h>
|
||||
#include <drivers/pic.h>
|
||||
#include <drivers/pci/pci.h>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "board.h"
|
||||
|
||||
#ifdef CONFIG_NS16550
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <bluetooth/uart.h>
|
||||
#include <console/uart_console.h>
|
||||
#include <serial/ns16550.h>
|
||||
|
||||
@ -24,7 +24,7 @@ for the ia32 platform.
|
||||
|
||||
#include <nanokernel.h>
|
||||
#include "board.h"
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/pic.h>
|
||||
#include <device.h>
|
||||
#include <init.h>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "board.h"
|
||||
|
||||
#ifdef CONFIG_NS16550
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <bluetooth/uart.h>
|
||||
#include <console/uart_console.h>
|
||||
#include <serial/ns16550.h>
|
||||
|
||||
@ -31,7 +31,7 @@ Handlers for the secondary serial port have not been added.
|
||||
#include <misc/printk.h>
|
||||
#include <misc/__assert.h>
|
||||
#include "board.h"
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/ioapic.h>
|
||||
#include <drivers/pic.h>
|
||||
#include <drivers/pci/pci.h>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include "board.h"
|
||||
|
||||
#ifdef CONFIG_NS16550
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <bluetooth/uart.h>
|
||||
#include <console/uart_console.h>
|
||||
#include <serial/ns16550.h>
|
||||
|
||||
@ -23,7 +23,7 @@
|
||||
#include <arch/cpu.h>
|
||||
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <misc/byteorder.h>
|
||||
#include <string.h>
|
||||
|
||||
|
||||
@ -34,7 +34,7 @@
|
||||
#include <init.h>
|
||||
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <console/uart_console.h>
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
|
||||
@ -26,7 +26,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <drivers/k20_uart.h>
|
||||
#include <drivers/k20_sim.h>
|
||||
#include <toolchain.h>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#ifndef _DRIVERS_UART_K20_H_
|
||||
#define _DRIVERS_UART_K20_H_
|
||||
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
void k20_uart_port_init(struct device *, const struct uart_init_info * const);
|
||||
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
#include <board.h>
|
||||
#include <toolchain.h>
|
||||
#include <sections.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <sys_io.h>
|
||||
#ifdef CONFIG_PCI
|
||||
#include <pci/pci.h>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#ifndef _DRIVERS_UART_NS16550_H_
|
||||
#define _DRIVERS_UART_NS16550_H_
|
||||
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
/** Device data structure */
|
||||
struct uart_ns16550_dev_data_t {
|
||||
|
||||
@ -22,7 +22,7 @@
|
||||
#include <misc/util.h>
|
||||
#include <string.h>
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
#define NSIM_UART_DATA 0
|
||||
#define NSIM_UART_STATUS 1
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#ifndef _DRIVERS_UART_NSIM_H_
|
||||
#define _DRIVERS_UART_NSIM_H_
|
||||
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
void nsim_uart_port_init(struct device *, const struct uart_init_info * const);
|
||||
|
||||
|
||||
@ -17,7 +17,7 @@
|
||||
#include <nanokernel.h>
|
||||
#include <device.h>
|
||||
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
/**
|
||||
* @brief UART initialization routine for platform drivers.
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
#include <arch/cpu.h>
|
||||
#include <misc/__assert.h>
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
#include <sections.h>
|
||||
|
||||
/* definitions */
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#ifndef _DRIVERS_UART_STELLARIS_H_
|
||||
#define _DRIVERS_UART_STELLARIS_H_
|
||||
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
void stellaris_uart_port_init(struct device *,
|
||||
const struct uart_init_info * const);
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
#include <arch/cpu.h>
|
||||
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
#include <simple/uart.h>
|
||||
#include <misc/printk.h>
|
||||
|
||||
@ -21,7 +21,7 @@
|
||||
#include <nanokernel.h>
|
||||
#include <arch/cpu.h>
|
||||
#include <board.h>
|
||||
#include <drivers/uart.h>
|
||||
#include <uart.h>
|
||||
|
||||
#define UART1 (uart_devs[1])
|
||||
#define UART1_IRQ COM2_INT_LVL
|
||||
|
||||
Loading…
Reference in New Issue
Block a user