2017-04-28 15:27:26 +02:00
|
|
|
/*
|
|
|
|
* \brief Board driver for core
|
|
|
|
* \author Stefan Kalkowski
|
|
|
|
* \date 2017-04-27
|
|
|
|
*/
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Copyright (C) 2017 Genode Labs GmbH
|
|
|
|
*
|
|
|
|
* This file is part of the Genode OS framework, which is distributed
|
|
|
|
* under the terms of the GNU Affero General Public License version 3.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _CORE__SPEC__ARNDALE__BOARD_H_
|
|
|
|
#define _CORE__SPEC__ARNDALE__BOARD_H_
|
|
|
|
|
|
|
|
/* base includes */
|
|
|
|
#include <drivers/defs/arndale.h>
|
2017-05-02 13:00:17 +02:00
|
|
|
#include <drivers/uart/exynos.h>
|
2017-04-28 15:27:26 +02:00
|
|
|
|
|
|
|
#include <hw/spec/arm/cortex_a15.h>
|
|
|
|
|
|
|
|
namespace Board {
|
|
|
|
using namespace Arndale;
|
|
|
|
using Cpu_mmio = Hw::Cortex_a15_mmio<IRQ_CONTROLLER_BASE>;
|
2017-05-02 13:00:17 +02:00
|
|
|
using Serial = Genode::Exynos_uart;
|
|
|
|
|
|
|
|
enum {
|
|
|
|
UART_BASE = UART_2_MMIO_BASE,
|
|
|
|
UART_CLOCK = UART_2_CLOCK,
|
|
|
|
};
|
2017-04-28 15:27:26 +02:00
|
|
|
|
|
|
|
static constexpr bool SMP = true;
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* _CORE__SPEC__ARNDALE__BOARD_H_ */
|