projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[ar7] refresh patches and remove trailing whitespaces
[openwrt.git]
/
target
/
linux
/
ar7
/
patches-2.6.32
/
930-titan-platform.patch
diff --git
a/target/linux/ar7/patches-2.6.32/930-titan-platform.patch
b/target/linux/ar7/patches-2.6.32/930-titan-platform.patch
index
21b585b
..
b7ecfc2
100644
(file)
--- a/
target/linux/ar7/patches-2.6.32/930-titan-platform.patch
+++ b/
target/linux/ar7/patches-2.6.32/930-titan-platform.patch
@@
-329,9
+329,9
@@
/* Interrupts */
#define AR7_IRQ_UART0 15
/* Interrupts */
#define AR7_IRQ_UART0 15
-@@ -9
7,14 +117,22 @@ extern int ar7_cpu_clock, ar7_bus_clock,
+@@ -9
5,14 +115,22 @@ struct plat_dsl_data {
- extern
void __init ar7_init_clocks(void)
;
+ extern
int ar7_cpu_clock, ar7_bus_clock, ar7_dsp_clock
;
+static inline int ar7_is_titan(void)
+{
+static inline int ar7_is_titan(void)
+{
@@
-632,7
+632,7
@@
+ * GPIO Control
+ **********************************************************************/
+
+ * GPIO Control
+ **********************************************************************/
+
-+typedef struct
++typedef struct
+{
+ int pinSelReg;
+ int shift;
+{
+ int pinSelReg;
+ int shift;
@@
-721,7
+721,7
@@
+ GPIO_CFG gpio_cfg;
+ volatile PIN_SEL_REG_ARRAY_T *pin_sel_array = (PIN_SEL_REG_ARRAY_T*) AVALANCHE_PIN_SEL_BASE;
+ volatile TITAN_GPIO_CONTROL_T *gpio_cntl = (TITAN_GPIO_CONTROL_T*) KSEG1ADDR(AR7_REGS_GPIO + TITAN_GPIO_INPUT_0);
+ GPIO_CFG gpio_cfg;
+ volatile PIN_SEL_REG_ARRAY_T *pin_sel_array = (PIN_SEL_REG_ARRAY_T*) AVALANCHE_PIN_SEL_BASE;
+ volatile TITAN_GPIO_CONTROL_T *gpio_cntl = (TITAN_GPIO_CONTROL_T*) KSEG1ADDR(AR7_REGS_GPIO + TITAN_GPIO_INPUT_0);
-+
++
+ if (gpio_pin > 51 )
+ return(-1);
+
+ if (gpio_pin > 51 )
+ return(-1);
+
This page took
0.024608 seconds
and
4
git commands to generate.