2012-10-23 15:12:09 +00:00
|
|
|
/*
|
|
|
|
* \brief Serial output driver specific for the i.MX31
|
|
|
|
* \author Norman Feske
|
|
|
|
* \date 2012-08-30
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2013-01-10 20:44:47 +00:00
|
|
|
* Copyright (C) 2012-2013 Genode Labs GmbH
|
2012-10-23 15:12:09 +00:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU General Public License version 2.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _INCLUDE__PLATFORM__IMX31__DRIVERS__SERIAL_LOG_H_
|
|
|
|
#define _INCLUDE__PLATFORM__IMX31__DRIVERS__SERIAL_LOG_H_
|
|
|
|
|
|
|
|
/* Genode includes */
|
2012-12-10 12:55:19 +00:00
|
|
|
#include <board.h>
|
2012-10-23 15:12:09 +00:00
|
|
|
#include <drivers/uart/imx31_uart_base.h>
|
|
|
|
|
|
|
|
namespace Genode
|
|
|
|
{
|
|
|
|
struct Serial_log : Imx31_uart_base
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Constructor
|
|
|
|
*
|
|
|
|
* \param baud_rate targeted transfer baud-rate
|
|
|
|
*
|
|
|
|
* XXX: The 'baud_rate' argument is ignored for now.
|
|
|
|
*/
|
|
|
|
Serial_log(unsigned const baud_rate)
|
|
|
|
: Imx31_uart_base(Board::UART_1_MMIO_BASE) { }
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _INCLUDE__PLATFORM__IMX31__DRIVERS__SERIAL_LOG_H_ */
|
|
|
|
|