From: s.hauer@pengutronix.de (Sascha Hauer)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 14/16] arm/mx3/mx31_3ds: fold board header in its only user
Date: Tue, 25 May 2010 09:10:51 +0200 [thread overview]
Message-ID: <20100525071051.GH17272@pengutronix.de> (raw)
In-Reply-To: <1274730951-29106-14-git-send-email-u.kleine-koenig@pengutronix.de>
On Mon, May 24, 2010 at 09:55:49PM +0200, Uwe Kleine-K?nig wrote:
> Moreover remove unused definitions.
The patch does not match the subject. Are there hunks missing?
Sascah
>
> Signed-off-by: Uwe Kleine-K?nig <u.kleine-koenig@pengutronix.de>
> ---
> arch/arm/mach-mx3/mach-mx31_3ds.c | 41 +++++++++++++++++++++++++++++++-----
> 1 files changed, 35 insertions(+), 6 deletions(-)
>
> diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c b/arch/arm/mach-mx3/mach-mx31_3ds.c
> index f54af1e..7ec2e81 100644
> --- a/arch/arm/mach-mx3/mach-mx31_3ds.c
> +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c
> @@ -41,12 +41,41 @@
> #include <mach/spi.h>
> #include "devices.h"
>
> -/*!
> - * @file mx31_3ds.c
> - *
> - * @brief This file contains the board-specific initialization routines.
> - *
> - * @ingroup System
> +/* Definitions for components on the Debug board */
> +
> +/* Base address of CPLD controller on the Debug board */
> +#define DEBUG_BASE_ADDRESS CS5_IO_ADDRESS(MX3x_CS5_BASE_ADDR)
> +
> +/* LAN9217 ethernet base address */
> +#define LAN9217_BASE_ADDR MX3x_CS5_BASE_ADDR
> +
> +/* CPLD config and interrupt base address */
> +#define CPLD_ADDR (DEBUG_BASE_ADDRESS + 0x20000)
> +
> +/* status, interrupt */
> +#define CPLD_INT_STATUS_REG (CPLD_ADDR + 0x10)
> +#define CPLD_INT_MASK_REG (CPLD_ADDR + 0x38)
> +#define CPLD_INT_RESET_REG (CPLD_ADDR + 0x20)
> +/* magic word for debug CPLD */
> +#define CPLD_MAGIC_NUMBER1_REG (CPLD_ADDR + 0x40)
> +#define CPLD_MAGIC_NUMBER2_REG (CPLD_ADDR + 0x48)
> +/* CPLD code version */
> +#define CPLD_CODE_VER_REG (CPLD_ADDR + 0x50)
> +/* magic word for debug CPLD */
> +#define CPLD_MAGIC_NUMBER3_REG (CPLD_ADDR + 0x58)
> +
> +/* CPLD IRQ line for external uart, external ethernet etc */
> +#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_1)
> +
> +#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)
> +#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)
> +
> +#define EXPIO_INT_ENET (MXC_EXP_IO_BASE + 0)
> +
> +#define MXC_MAX_EXP_IO_LINES 16
> +
> +/*
> + * This file contains the board-specific initialization routines.
> */
>
> static int mx31_3ds_pins[] = {
> --
> 1.7.0
>
>
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
next prev parent reply other threads:[~2010-05-25 7:10 UTC|newest]
Thread overview: 32+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-24 19:54 [PATCH 00/16] imx patches for 2.6.36 Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 01/16] arm/mx3: rename mach-mx35pdk.c to mach-mx35_3ds.c matching its arch number Uwe Kleine-König
2010-05-24 22:20 ` Fabio Estevam
2010-05-25 7:55 ` Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 02/16] arm/mx25: rename mach-mx25pdk.c to mach-mx25_3ds.c " Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 03/16] arm/mx1: add CONFIG_VIDEO_MX1 to defconfig Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 04/16] arm/mx1: don't use deprecated symbol names Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 05/16] arm/mx2/pca100: add #ifdef to fix compiler warning Uwe Kleine-König
2010-05-25 0:06 ` Wolfram Sang
2010-05-25 9:04 ` Uwe Kleine-König
2010-05-25 10:57 ` Wolfram Sang
2010-05-25 18:36 ` Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 06/16] arm/mx1/scb9328: fix type of uart1_mxc_exit to make compiler happy Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 07/16] arm/mx2/mx27_3ds: document alternative names and remove empty header Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 08/16] arm/imx: remove empty and unused board headers Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 09/16] arm/mx2/mbimx27: compile fixes with CONFIG_TOUCHSCREEN_ADS7846=y Uwe Kleine-König
2010-05-24 20:10 ` Eric Bénard
2010-05-24 20:34 ` Uwe Kleine-König
2010-05-24 21:08 ` Eric Bénard
2010-06-22 16:13 ` Uwe Kleine-König
2010-06-22 17:21 ` Eric Bénard
2010-06-24 9:36 ` Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 10/16] arm/mx3/kzm_arm11_01: fold board header in its only user Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 11/16] arm/mx2/mx21ads: " Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 12/16] arm/mx2/mx27ads: " Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 13/16] arm/mx3/qong: get rid of nearly empty header Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 14/16] arm/mx3/mx31_3ds: fold board header in its only user Uwe Kleine-König
2010-05-25 7:10 ` Sascha Hauer [this message]
2010-05-25 8:01 ` Alberto Panizzo
2010-05-25 8:20 ` [PATCH 13/16 v2] " Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 15/16] arm/mx3/mx31ads: " Uwe Kleine-König
2010-05-24 19:55 ` [PATCH 16/16] arm/mxc: grammar fix Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100525071051.GH17272@pengutronix.de \
--to=s.hauer@pengutronix.de \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).