]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
Xilinx: ARM: BSP: adding hack to take USB out of reset
authorJohn Linn <john.linn@xilinx.com>
Tue, 13 Dec 2011 16:25:40 +0000 (08:25 -0800)
committerJohn Linn <john.linn@xilinx.com>
Tue, 13 Dec 2011 16:28:32 +0000 (08:28 -0800)
Temporary hack to take USB out of reset til Linux is fixed.

board/xilinx/dfe/board.c

index 1935dcdcd3310bbf749cf4346365f9ec373fea41..abeb4d09ab97429d9e0f2bd81d51b46cb94ad33c 100644 (file)
@@ -579,6 +579,8 @@ int from_burst_main()
 
 int board_init(void)
 {
+       /* taken from burst, some DDR/MIO/Clock setup hacked in */
+
        from_burst_main();
 
        /* temporary hack to clear pending irqs before Linux as it 
@@ -586,6 +588,13 @@ int board_init(void)
 
        Xil_Out32(0xe0001014, 0x26d);
 
+       /* temporary hack to take USB out of reset til the is fixed
+          in Linux */
+
+       Xil_Out32(0xe000a204, 0x80);
+       Xil_Out32(0xe000a208, 0x80);
+       Xil_Out32(0xe000a040, 0x80);
+
        icache_enable();
        init_nor_flash();