Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 112426
b: refs/heads/master
c: c0b1541
h: refs/heads/master
v: v3
  • Loading branch information
Eric Miao authored and Russell King committed Sep 26, 2008
1 parent 0b18999 commit e180a3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 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: 4a5c5eabd4b2dd437bcb0a8d95b4eb5d38f60e54
refs/heads/master: c0b1541fc7d3969b662f39214c58fe796e9e4a51
11 changes: 7 additions & 4 deletions trunk/arch/arm/mach-pxa/colibri.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,17 @@
#include <asm/mach/irq.h>
#include <asm/mach/flash.h>
#include <mach/pxa-regs.h>
#include <mach/pxa2xx-gpio.h>
#include <mach/mfp-pxa27x.h>
#include <mach/colibri.h>

#include "generic.h"
#include "devices.h"

static unsigned long colibri_pin_config[] __initdata = {
GPIO78_nCS_2, /* Ethernet CS */
GPIO114_GPIO, /* Ethernet IRQ */
};

/*
* Flash
*/
Expand Down Expand Up @@ -116,9 +121,7 @@ static struct platform_device *colibri_devices[] __initdata = {

static void __init colibri_init(void)
{
/* DM9000 LAN */
pxa_gpio_mode(GPIO78_nCS_2_MD);
pxa_gpio_mode(GPIO_DM9000 | GPIO_IN);
pxa2xx_mfp_config(ARRAY_AND_SIZE(colibri_pin_config));

platform_add_devices(colibri_devices, ARRAY_SIZE(colibri_devices));
}
Expand Down

0 comments on commit e180a3e

Please sign in to comment.