imx31: remove platform completely (fix #1360)

This commit is contained in:
Stefan Kalkowski
2015-01-12 11:48:43 +01:00
committed by Christian Helmuth
parent 0f18ecc142
commit 901bff813d
13 changed files with 19 additions and 516 deletions

View File

@ -1,5 +1,5 @@
/*
* \brief Driver base for i.MX31 UART-module
* \brief Driver base for Freescale's i.MX UART-module
* \author Norman Feske
* \author Martin Stein
* \date 2012-08-30
@ -12,8 +12,8 @@
* under the terms of the GNU General Public License version 2.
*/
#ifndef _INCLUDE__DRIVERS__UART__IMX31_UART_BASE_H_
#define _INCLUDE__DRIVERS__UART__IMX31_UART_BASE_H_
#ifndef _INCLUDE__DRIVERS__UART__IMX_UART_BASE_H_
#define _INCLUDE__DRIVERS__UART__IMX_UART_BASE_H_
/* Genode includes */
#include <util/mmio.h>
@ -21,9 +21,9 @@
namespace Genode
{
/**
* Driver base for i.MX31 UART-module
* Driver base for i.MX UART-module
*/
class Imx31_uart_base : Mmio
class Imx_uart_base : Mmio
{
/**
* Control register 1
@ -245,7 +245,7 @@ namespace Genode
*
* \param base device MMIO base
*/
explicit Imx31_uart_base(addr_t const base) : Mmio(base)
explicit Imx_uart_base(addr_t const base) : Mmio(base)
{
write<Cr1>(Cr1::init_value());
write<Cr2>(Cr2::init_value());
@ -270,5 +270,5 @@ namespace Genode
};
}
#endif /* _INCLUDE__DRIVERS__UART__IMX31_UART_BASE_H_ */
#endif /* _INCLUDE__DRIVERS__UART__IMX_UART_BASE_H_ */

View File

@ -1,63 +0,0 @@
/*
* \brief Board definitions for the i.MX31
* \author Martin Stein
* \author Norman Feske
* \date 2011-11-03
*/
/*
* Copyright (C) 2012-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__PLATFORM__BOARD_BASE_H_
#define _INCLUDE__PLATFORM__BOARD_BASE_H_
/* Genode includes */
#include <util/mmio.h>
namespace Genode
{
/**
* i.MX31 motherboard
*/
struct Board_base
{
enum {
RAM_0_BASE = 0x80000000,
RAM_0_SIZE = 0x20000000,
MMIO_0_BASE = 0x30000000,
MMIO_0_SIZE = 0x50000000,
UART_1_IRQ = 45,
UART_1_MMIO_BASE = 0x43f90000,
UART_1_MMIO_SIZE = 0x00004000,
EPIT_1_IRQ = 28,
EPIT_1_MMIO_BASE = 0x53f94000,
EPIT_1_MMIO_SIZE = 0x00004000,
EPIT_2_IRQ = 27,
EPIT_2_MMIO_BASE = 0x53f98000,
EPIT_2_MMIO_SIZE = 0x00004000,
AVIC_MMIO_BASE = 0x68000000,
AVIC_MMIO_SIZE = 0x04000000,
AIPS_1_MMIO_BASE = 0x43F00000,
AIPS_1_MMIO_SIZE = 0x00004000,
AIPS_2_MMIO_BASE = 0x53F00000,
AIPS_2_MMIO_SIZE = 0x00004000,
/* CPU cache */
CACHE_LINE_SIZE_LOG2 = 2, /* FIXME get correct value from board spec */
};
};
}
#endif /* _INCLUDE__PLATFORM__BOARD_BASE_H_ */

View File

@ -1,15 +0,0 @@
#
# \brief Build-system configurations for Freescale i.MX31
# \author Martin Stein
# \date 2012-09-26
#
# denote wich specs are also fullfilled by this spec
SPECS += arm_v6
# add repository relative include paths
REP_INC_DIR += include/platform/imx31
# include implied specs
include $(call select_from_repositories,mk/spec-arm_v6.mk)