We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84c046b commit bbea7c8Copy full SHA for bbea7c8
arch/sh/kernel/cpu/sh4a/setup-sh7786.c
@@ -400,20 +400,6 @@ static struct platform_device *sh7786_devices[] __initdata = {
400
&usb_ohci_device,
401
};
402
403
-/*
404
- * Please call this function if your platform board
405
- * use external clock for USB
406
- * */
407
-#define USBCTL0 0xffe70858
408
-#define CLOCK_MODE_MASK 0xffffff7f
409
-#define EXT_CLOCK_MODE 0x00000080
410
-
411
-void __init sh7786_usb_use_exclock(void)
412
-{
413
- u32 val = __raw_readl(USBCTL0) & CLOCK_MODE_MASK;
414
- __raw_writel(val | EXT_CLOCK_MODE, USBCTL0);
415
-}
416
417
#define USBINITREG1 0xffe70094
418
#define USBINITREG2 0xffe7009c
419
#define USBINITVAL1 0x00ff0040
0 commit comments