2016-02-11 11:59:31 +01:00
|
|
|
/*
|
|
|
|
* \brief Board spcecification
|
|
|
|
* \author Sebastian Sumpf
|
|
|
|
* \date 2015-06-02
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
2017-02-20 13:23:52 +01:00
|
|
|
* Copyright (C) 2015-2017 Genode Labs GmbH
|
2016-02-11 11:59:31 +01:00
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
2017-02-20 13:23:52 +01:00
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
2016-02-11 11:59:31 +01:00
|
|
|
*/
|
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#ifndef _CORE__SPEC__RISCV__BOARD_H_
|
|
|
|
#define _CORE__SPEC__RISCV__BOARD_H_
|
2016-02-11 11:59:31 +01:00
|
|
|
|
2017-05-26 16:27:39 +02:00
|
|
|
#include <hw/spec/riscv/uart.h>
|
|
|
|
|
2017-05-02 13:00:17 +02:00
|
|
|
namespace Board {
|
|
|
|
enum { UART_BASE, UART_CLOCK };
|
|
|
|
struct Serial : Hw::Riscv_uart {
|
|
|
|
Serial(unsigned, unsigned, unsigned) {} };
|
|
|
|
}
|
2016-02-11 11:59:31 +01:00
|
|
|
|
2017-04-12 10:06:29 +02:00
|
|
|
#endif /* _CORE__SPEC__RISCV__BOARD_H_ */
|