mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-26 00:41:08 +00:00
ed52d5a211
Instead of holding SPEC-variable dependent files and directories inline within the repository structure, move them into 'spec' subdirectories at the corresponding levels, e.g.: repos/base/include/spec repos/base/mk/spec repos/base/lib/mk/spec repos/base/src/core/spec ... Moreover, this commit removes the 'platform' directories. That term was used in an overloaded sense. All SPEC-relative 'platform' directories are now named 'spec'. Other files, like for instance those related to the kernel/architecture specific startup library, where moved from 'platform' directories to explicit, more meaningful places like e.g.: 'src/lib/startup'. Fix #1673
38 lines
991 B
C
38 lines
991 B
C
/*
|
|
* \brief EXYNOS5 UART definitions
|
|
* \author Stefan Kalkowski <stefan.kalkowski@genode-labs.com>
|
|
* \date 2013-06-05
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2013 Genode Labs GmbH
|
|
*
|
|
* 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__SPEC__EXYNOS5__UART_DEFS_H_
|
|
#define _INCLUDE__SPEC__EXYNOS5__UART_DEFS_H_
|
|
|
|
#include <drivers/board_base.h>
|
|
|
|
enum {
|
|
/** Number of UARTs */
|
|
UARTS_NUM = 2,
|
|
|
|
BAUD_115200 = 115200,
|
|
};
|
|
|
|
|
|
static struct Exynos_uart_cfg {
|
|
Genode::addr_t mmio_base;
|
|
Genode::size_t mmio_size;
|
|
int irq_number;
|
|
} exynos_uart_cfg[UARTS_NUM] = {
|
|
/* temporary workaround having first UART twice (most run-scripts have first UART reserved for the kernel ) */
|
|
{ Genode::Board_base::UART_2_MMIO_BASE, 4096, Genode::Board_base::UART_2_IRQ },
|
|
{ Genode::Board_base::UART_2_MMIO_BASE, 4096, Genode::Board_base::UART_2_IRQ },
|
|
};
|
|
|
|
#endif /* _INCLUDE__SPEC__EXYNOS5__UART_DEFS_H_ */
|