Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 175870
b: refs/heads/master
c: 9bf4d67
h: refs/heads/master
v: v3
  • Loading branch information
Krzysztof Hałasa committed Dec 5, 2009
1 parent b2c7374 commit 7a25a6e
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 53 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: ed5b9fa0d1c5ad1e01ff56b9acd3ff52bc783f66
refs/heads/master: 9bf4d676898b1f083a7ee20a0c6aacf2886eb49d
1 change: 0 additions & 1 deletion trunk/arch/arm/mach-ixp4xx/include/mach/hardware.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
#include "platform.h"

/* Platform specific details */
#include "ixdp425.h"
#include "avila.h"
#include "coyote.h"
#include "prpmc1100.h"
Expand Down
8 changes: 0 additions & 8 deletions trunk/arch/arm/mach-ixp4xx/include/mach/irqs.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,6 @@

#define XSCALE_PMU_IRQ (IRQ_IXP4XX_XSCALE_PMU)

/*
* IXDP425 board IRQs
*/
#define IRQ_IXDP425_PCI_INTA IRQ_IXP4XX_GPIO11
#define IRQ_IXDP425_PCI_INTB IRQ_IXP4XX_GPIO10
#define IRQ_IXDP425_PCI_INTC IRQ_IXP4XX_GPIO9
#define IRQ_IXDP425_PCI_INTD IRQ_IXP4XX_GPIO8

/*
* Gateworks Avila board IRQs
*/
Expand Down
39 changes: 0 additions & 39 deletions trunk/arch/arm/mach-ixp4xx/include/mach/ixdp425.h

This file was deleted.

17 changes: 15 additions & 2 deletions trunk/arch/arm/mach-ixp4xx/ixdp425-pci.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* arch/arm/mach-ixp4xx/ixdp425-pci.c
* arch/arm/mach-ixp4xx/ixdp425-pci.c
*
* IXDP425 board-level PCI initialization
*
Expand All @@ -19,12 +19,25 @@
#include <linux/init.h>
#include <linux/irq.h>
#include <linux/delay.h>

#include <asm/mach/pci.h>
#include <asm/irq.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>

#define IXDP425_PCI_MAX_DEV 4
#define IXDP425_PCI_IRQ_LINES 4

/* PCI controller GPIO to IRQ pin mappings */
#define IXDP425_PCI_INTA_PIN 11
#define IXDP425_PCI_INTB_PIN 10
#define IXDP425_PCI_INTC_PIN 9
#define IXDP425_PCI_INTD_PIN 8

#define IRQ_IXDP425_PCI_INTA IRQ_IXP4XX_GPIO11
#define IRQ_IXDP425_PCI_INTB IRQ_IXP4XX_GPIO10
#define IRQ_IXDP425_PCI_INTC IRQ_IXP4XX_GPIO9
#define IRQ_IXDP425_PCI_INTD IRQ_IXP4XX_GPIO8

void __init ixdp425_pci_preinit(void)
{
set_irq_type(IRQ_IXDP425_PCI_INTA, IRQ_TYPE_LEVEL_LOW);
Expand Down
12 changes: 10 additions & 2 deletions trunk/arch/arm/mach-ixp4xx/ixdp425-setup.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* arch/arm/mach-ixp4xx/ixdp425-setup.c
*
* IXDP425/IXCDP1100 board-setup
* IXDP425/IXCDP1100 board-setup
*
* Copyright (C) 2003-2005 MontaVista Software, Inc.
*
Expand All @@ -21,7 +21,6 @@
#include <linux/mtd/nand.h>
#include <linux/mtd/partitions.h>
#include <linux/delay.h>

#include <asm/types.h>
#include <asm/setup.h>
#include <asm/memory.h>
Expand All @@ -31,6 +30,15 @@
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>

#define IXDP425_SDA_PIN 7
#define IXDP425_SCL_PIN 6

/* NAND Flash pins */
#define IXDP425_NAND_NCE_PIN 12

#define IXDP425_NAND_CMD_BYTE 0x01
#define IXDP425_NAND_ADDR_BYTE 0x02

static struct flash_platform_data ixdp425_flash_data = {
.map_name = "cfi_probe",
.width = 2,
Expand Down

0 comments on commit 7a25a6e

Please sign in to comment.