mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-21 22:47:50 +00:00
6106e64aac
This commit moves the headers residing in `repos/base/include/spec/*/drivers` to `repos/base/include/drivers/defs` or repos/base/include/drivers/uart` respectively. The first one contains definitions about board-specific MMIO iand RAM addresses, or IRQ lines. While the latter contains device driver code for UART devices. Those definitions are used by driver implementations in `repos/base-hw`, `repos/os`, and `repos/dde-linux`, which now need to include them more explicitely. This work is a step in the direction of reducing 'SPEC' identifiers overall. Ref #2403
33 lines
698 B
C++
33 lines
698 B
C++
/*
|
|
* \brief MMIO and IRQ definitions of the i.MX53 Quickstart board
|
|
* \author Stefan Kalkowski
|
|
* \date 2012-10-24
|
|
*/
|
|
|
|
/*
|
|
* Copyright (C) 2012-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 _INCLUDE__DRIVERS__DEFS__IMX53_QSB_H_
|
|
#define _INCLUDE__DRIVERS__DEFS__IMX53_QSB_H_
|
|
|
|
/* Genode includes */
|
|
#include <drivers/defs/imx53.h>
|
|
|
|
namespace Imx53_qsb {
|
|
|
|
using namespace Imx53;
|
|
|
|
enum {
|
|
RAM0_BASE = RAM_BANK_0_BASE,
|
|
RAM0_SIZE = 0x20000000,
|
|
RAM1_BASE = RAM_BANK_1_BASE,
|
|
RAM1_SIZE = 0x20000000,
|
|
};
|
|
};
|
|
|
|
#endif /* _INCLUDE__DRIVERS__DEFS__IMX53_QSB_H_ */
|