]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: fixing USB PHY hack
authorJohn Linn <john.linn@xilinx.com>
Wed, 2 May 2012 20:35:32 +0000 (13:35 -0700)
committerJohn Linn <john.linn@xilinx.com>
Wed, 2 May 2012 20:35:32 +0000 (13:35 -0700)
The driver team has recommended this reset change
to make USB behave better based on OTG testing.

board/xilinx/dfe/board.c

index 8710636e117251276dbdddfec163ca07784613a4..0e347b90a8aca40fb3192432307785abf0208039 100644 (file)
@@ -595,6 +595,8 @@ int board_init(void)
        Xil_Out32(0xe000a204, 0x80);
        Xil_Out32(0xe000a208, 0x80);
        Xil_Out32(0xe000a040, 0x80);
+       Xil_Out32(0xe000a040, 0x00);
+       Xil_Out32(0xe000a040, 0x80);
 
        icache_enable();
        init_nor_flash();