summaryrefslogtreecommitdiff
path: root/packages/linux/linux-2.6.26/boc01/004-081105-usb.patch
diff options
context:
space:
mode:
authorJeremy Lainé <jeremy.laine@m4x.org>2008-11-24 19:27:16 +0100
committerJeremy Lainé <jeremy.laine@m4x.org>2008-11-24 19:27:16 +0100
commit30926fd2523fd93741149dd4ccd0e69ed3e1854d (patch)
tree36be7ee263f6590553ee2387c334bce493bfd968 /packages/linux/linux-2.6.26/boc01/004-081105-usb.patch
parentc7d514e3de6cb0ddad3dbc7efd4428b24cd2d144 (diff)
linux-2.6.26: add patches for boc01 hardware
Diffstat (limited to 'packages/linux/linux-2.6.26/boc01/004-081105-usb.patch')
-rw-r--r--packages/linux/linux-2.6.26/boc01/004-081105-usb.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-2.6.26/boc01/004-081105-usb.patch b/packages/linux/linux-2.6.26/boc01/004-081105-usb.patch
new file mode 100644
index 0000000000..f64119c4fa
--- /dev/null
+++ b/packages/linux/linux-2.6.26/boc01/004-081105-usb.patch
@@ -0,0 +1,17 @@
+diff -Nru linux-2.6.26-officiel/arch/powerpc/platforms/83xx/usb.c /home/guilig/workspace/kernel-goobie-2.6.26/src/arch/powerpc/platforms/83xx/usb.c
+--- linux-2.6.26-officiel/arch/powerpc/platforms/83xx/usb.c 2008-07-13 23:51:29.000000000 +0200
++++ /home/guilig/workspace/kernel-goobie-2.6.26/src/arch/powerpc/platforms/83xx/usb.c 2008-10-23 11:34:06.000000000 +0200
+@@ -166,10 +166,10 @@
+ !strcmp(prop, "utmi"))) {
+ u32 refsel;
+
+- if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr"))
++// if (of_device_is_compatible(immr_node, "fsl,mpc8315-immr"))
+ refsel = CONTROL_REFSEL_24MHZ;
+- else
+- refsel = CONTROL_REFSEL_48MHZ;
++// else
++// refsel = CONTROL_REFSEL_48MHZ;
+ /* Set UTMI_PHY_EN and REFSEL */
+ out_be32(usb_regs + FSL_USB2_CONTROL_OFFS,
+ CONTROL_UTMI_PHY_EN | refsel);