projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[include] autotools.mk: let PKG_REMOVE_FILES default to aclocal.m4
[openwrt.git]
/
target
/
linux
/
brcm63xx
/
patches-2.6.35
/
180-udc_preliminary_support.patch
diff --git
a/target/linux/brcm63xx/patches-2.6.35/180-udc_preliminary_support.patch
b/target/linux/brcm63xx/patches-2.6.35/180-udc_preliminary_support.patch
index
57016d5
..
6011db7
100644
(file)
--- a/
target/linux/brcm63xx/patches-2.6.35/180-udc_preliminary_support.patch
+++ b/
target/linux/brcm63xx/patches-2.6.35/180-udc_preliminary_support.patch
@@
-8,7
+8,7
@@
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
#include <board_bcm963xx.h>
#define PFX "board_bcm963xx: "
-@@ -4
15,6 +416
,8 @@ static struct board_info __initdata boar
+@@ -4
00,6 +401
,8 @@ static struct board_info __initdata boar
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
.has_ohci0 = 1,
.has_pccard = 1,
.has_ehci0 = 1,
@@
-17,16
+17,16
@@
};
static struct board_info __initdata board_rta1025w_16 = {
};
static struct board_info __initdata board_rta1025w_16 = {
-@@ -
913,6 +916,9 @@ void __init board_prom_init
(void)
-
-
bcm_gpio_writel(val, GPIO_MODE_REG
);
+@@ -
1002,6 +1005,9 @@ int __init board_register_devices
(void)
+ if (board.has_dsp)
+
bcm63xx_dsp_register(&board.dsp
);
+ if (board.has_udc0)
+ bcm63xx_udc_register();
+
+ if (board.has_udc0)
+ bcm63xx_udc_register();
+
- /*
Generate MAC address for WLAN and
- * register our SPROM */
- #ifdef CONFIG_SSB_PCIHOST
+ /*
read base address of boot chip select (0) */
+ if (BCMCPU_IS_6345())
+ val = 0x1fc00000;
--- /dev/null
+++ b/arch/mips/bcm63xx/dev-usb-udc.c
@@ -0,0 +1,58 @@
--- /dev/null
+++ b/arch/mips/bcm63xx/dev-usb-udc.c
@@ -0,0 +1,58 @@
@@
-214,7
+214,7
@@
* SPI clock
*/
static void spi_set(struct clk *clk, int enable)
* SPI clock
*/
static void spi_set(struct clk *clk, int enable)
-@@ -208,6 +232,8 @@ struct clk *clk_get(struct device *dev,
+@@ -208,6 +232,8 @@ struct clk *clk_get(struct device *dev,
return &clk_ephy;
if (!strcmp(id, "usbh"))
return &clk_usbh;
return &clk_ephy;
if (!strcmp(id, "usbh"))
return &clk_usbh;
This page took
0.02336 seconds
and
4
git commands to generate.