From: John Linn Date: Tue, 13 Dec 2011 16:25:40 +0000 (-0800) Subject: Xilinx: ARM: BSP: adding hack to take USB out of reset X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=40e24c15a905ac110fb65ffb4a054a50f32175d6;p=thirdparty%2Fu-boot.git Xilinx: ARM: BSP: adding hack to take USB out of reset Temporary hack to take USB out of reset til Linux is fixed. --- diff --git a/board/xilinx/dfe/board.c b/board/xilinx/dfe/board.c index 1935dcdcd33..abeb4d09ab9 100644 --- a/board/xilinx/dfe/board.c +++ b/board/xilinx/dfe/board.c @@ -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();