From: jason77.wang@gmail.com (Jason Wang)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/4] mx31_3ds: Remove unused debug board definitions
Date: Tue, 26 Oct 2010 10:11:47 +0800 [thread overview]
Message-ID: <4CC638E3.3040804@gmail.com> (raw)
In-Reply-To: <AANLkTi=GFQgwoVhv2UGZ+gpYKHYNrZi4p-A-x1Jk5=NO@mail.gmail.com>
Looks fine to me, These stuffs should be removed earlier. :-)
Rogerio Pimentel wrote:
> In commit (c5d38f08): "mx31_3ds: revert 3ds debug board relate code"
> the debug board definitions are placed in a separate file.
>
> Remove the remaining debug board related define from mach-mx31_3ds.c.
>
> Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
> Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com>
>
> ---
> arch/arm/mach-mx3/mach-mx31_3ds.c | 30 ------------------------------
> 1 files changed, 0 insertions(+), 30 deletions(-)
>
> diff --git a/arch/arm/mach-mx3/mach-mx31_3ds.c
> b/arch/arm/mach-mx3/mach-mx31_3ds.c
> index 6fe69e1..bc21efc 100644
> --- a/arch/arm/mach-mx3/mach-mx31_3ds.c
> +++ b/arch/arm/mach-mx3/mach-mx31_3ds.c
> @@ -38,39 +38,9 @@
> #include "devices-imx31.h"
> #include "devices.h"
>
> -/* 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.
> */
>
prev parent reply other threads:[~2010-10-26 2:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-25 14:53 [PATCH 1/4] mx31_3ds: Remove unused debug board definitions Rogerio Pimentel
2010-10-26 2:11 ` Jason Wang [this message]
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=4CC638E3.3040804@gmail.com \
--to=jason77.wang@gmail.com \
--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).