Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212664
b: refs/heads/master
c: d24d96e
h: refs/heads/master
v: v3
  • Loading branch information
Ian Lartey authored and Sascha Hauer committed Oct 19, 2010
1 parent 3981e3b commit 13f6284
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a3927416bf7f5cc9a0cfddab1e36035738bc287c
refs/heads/master: d24d96e05565c9bd81becba695131b0144c01707
7 changes: 1 addition & 6 deletions trunk/arch/arm/mach-mx3/mach-mx31ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@
#include <linux/i2c.h>
#include <linux/irq.h>

#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
#include <asm/memory.h>
#include <asm/mach/map.h>
#include <mach/common.h>
#include <mach/board-mx31ads.h>
#include <mach/iomux-mx3.h>

#ifdef CONFIG_MACH_MX31ADS_WM1133_EV1
Expand All @@ -40,10 +40,6 @@
#include "devices-imx31.h"
#include "devices.h"

/* Base address of PBC controller */
#define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT
/* Offsets for the PBC Controller register */

/* PBC Board interrupt status register */
#define PBC_INTSTATUS 0x000016

Expand All @@ -67,7 +63,6 @@
#define PBC_INTMASK_CLEAR_REG (PBC_INTMASK_CLEAR + PBC_BASE_ADDRESS)
#define EXPIO_PARENT_INT IOMUX_TO_IRQ(MX31_PIN_GPIO1_4)

#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)
#define MXC_IRQ_TO_EXPIO(irq) ((irq) - MXC_EXP_IO_BASE)

#define EXPIO_INT_XUART_INTA (MXC_EXP_IO_BASE + 10)
Expand Down
33 changes: 33 additions & 0 deletions trunk/arch/arm/plat-mxc/include/mach/board-mx31ads.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
/*
* Copyright 2005-2007 Freescale Semiconductor, Inc. All Rights Reserved.
*/

/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/

#ifndef __ASM_ARCH_MXC_BOARD_MX31ADS_H__
#define __ASM_ARCH_MXC_BOARD_MX31ADS_H__

#include <mach/hardware.h>

/*
* These symbols are used by drivers/net/cs89x0.c.
* This is ugly as hell, but we have to provide them until
* someone fixed the driver.
*/

/* Base address of PBC controller */
#define PBC_BASE_ADDRESS MX31_CS4_BASE_ADDR_VIRT
/* Offsets for the PBC Controller register */

/* Ethernet Controller IO base address */
#define PBC_CS8900A_IOBASE 0x020000

#define MXC_EXP_IO_BASE (MXC_BOARD_IRQ_START)

#define EXPIO_INT_ENET_INT (MXC_EXP_IO_BASE + 8)

#endif /* __ASM_ARCH_MXC_BOARD_MX31ADS_H__ */

0 comments on commit 13f6284

Please sign in to comment.