Title: [8900] trunk/arch/blackfin/mach-bf518/include/mach: bfin: fix handling of PH8 (the "internal" SPI0SEL4 pin)
Revision
8900
Author
vapier
Date
2010-06-08 23:02:09 -0400 (Tue, 08 Jun 2010)

Log Message

bfin: fix handling of PH8 (the "internal" SPI0SEL4 pin)

Modified Paths


Diff

Modified: trunk/arch/blackfin/mach-bf518/include/mach/gpio.h (8899 => 8900)


--- trunk/arch/blackfin/mach-bf518/include/mach/gpio.h	2010-06-08 19:53:45 UTC (rev 8899)
+++ trunk/arch/blackfin/mach-bf518/include/mach/gpio.h	2010-06-09 03:02:09 UTC (rev 8900)
@@ -7,7 +7,7 @@
 #ifndef _MACH_GPIO_H_
 #define _MACH_GPIO_H_
 
-#define MAX_BLACKFIN_GPIOS 40
+#define MAX_BLACKFIN_GPIOS 41
 
 #define	GPIO_PF0	0
 #define	GPIO_PF1	1
@@ -49,6 +49,7 @@
 #define	GPIO_PH5	37
 #define	GPIO_PH6	38
 #define	GPIO_PH7	39
+#define	GPIO_PH8	40
 
 #define PORT_F GPIO_PF0
 #define PORT_G GPIO_PG0

Modified: trunk/arch/blackfin/mach-bf518/include/mach/portmux.h (8899 => 8900)


--- trunk/arch/blackfin/mach-bf518/include/mach/portmux.h	2010-06-08 19:53:45 UTC (rev 8899)
+++ trunk/arch/blackfin/mach-bf518/include/mach/portmux.h	2010-06-09 03:02:09 UTC (rev 8900)
@@ -95,7 +95,7 @@
 #define P_SPI0_SSEL1	(P_DEFINED | P_IDENT(GPIO_PF7) | P_FUNCT(0))
 #define P_SPI0_SSEL2	(P_DEFINED | P_IDENT(GPIO_PG15) | P_FUNCT(0))
 #define P_SPI0_SSEL3	(P_DEFINED | P_IDENT(GPIO_PH4) | P_FUNCT(2))
-#define P_SPI0_SSEL4	(P_DEFINED | P_IDENT(GPIO_PG10) | P_FUNCT(2))
+#define P_SPI0_SSEL4	(P_DEFINED | P_IDENT(GPIO_PH8) | P_FUNCT(2))
 #define P_SPI0_SSEL5	(P_DEFINED | P_IDENT(GPIO_PG3) | P_FUNCT(2))
 
 #define P_SPI1_SS	(P_DEFINED | P_IDENT(GPIO_PH0) | P_FUNCT(1))
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits

Reply via email to