Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 288282
b: refs/heads/master
c: af82931
h: refs/heads/master
v: v3
  • Loading branch information
Haojian Zhuang committed Mar 6, 2012
1 parent 69f8a41 commit 90f571a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0c7de34be3e1f0c3031f9e0c23d3d7e51db317ba
refs/heads/master: af829310e8a914ad17ed61a7b18b14b4f457bca1
7 changes: 7 additions & 0 deletions trunk/arch/arm/mach-pxa/mfp-pxa2xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,12 @@ static void __init pxa25x_mfp_init(void)
{
int i;

/* running before pxa_gpio_probe() */
#ifdef CONFIG_CPU_PXA26x
pxa_last_gpio = 89;
#else
pxa_last_gpio = 84;
#endif
for (i = 0; i <= pxa_last_gpio; i++)
gpio_desc[i].valid = 1;

Expand Down Expand Up @@ -295,6 +301,7 @@ static void __init pxa27x_mfp_init(void)
{
int i, gpio;

pxa_last_gpio = 120; /* running before pxa_gpio_probe() */
for (i = 0; i <= pxa_last_gpio; i++) {
/* skip GPIO2, 5, 6, 7, 8, they are not
* valid pins allow configuration
Expand Down

0 comments on commit 90f571a

Please sign in to comment.