mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-06 05:31:57 +00:00
() Rename nsim_uart.c to uart_nsim.c. This is to follow the driver naming convention. () Rename functions nsim_uart_*() to uart_nsim_*(), following driver naming convention. () UART ports initialization is moved into the driver itself. All the init code in platform config files is removed. () Adds (many) Kconfig options. These don't have to be defined in each platform's board.h anymore. Change-Id: If015f39a6f6b4fcc65625e6e5f973b4469202f54 Signed-off-by: Daniel Leung <daniel.leung@intel.com>
29 lines
854 B
C
29 lines
854 B
C
/*
|
|
* Copyright (c) 2015 Intel Corporation.
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
/**
|
|
* @file Header file for NSIM UART driver
|
|
*/
|
|
|
|
#ifndef _DRIVERS_UART_NSIM_H_
|
|
#define _DRIVERS_UART_NSIM_H_
|
|
|
|
#include <uart.h>
|
|
|
|
void uart_nsim_port_init(struct device *, const struct uart_init_info * const);
|
|
|
|
#endif /* _DRIVERS_UART_NSIM_H_ */
|