Fix usb debug dongle support
authorSven Schnelle <svens@stackframe.org>
Sun, 30 Oct 2011 08:57:35 +0000 (09:57 +0100)
committerStefan Reinauer <stefan.reinauer@coreboot.org>
Mon, 31 Oct 2011 03:06:10 +0000 (04:06 +0100)
commit20fc631ad2c483fd2bc12e56f3ca8a1572688fb5
tree627cbfe2eccc644bec4019097481b6f136e55905
parent28f6a43755246641186f2c436b158d2dab4243a5
Fix usb debug dongle support

- move enable_usbdebug() declaration to usbdebug.h
- reinitialize debug driver in ramstage, as copying the data
  structure from romstage doesn't work right now. This way of copying
  data from romstage to ramstage is really board/cpu specific, and is
  likely to break often. So don't do it.

Change-Id: I394678ded6679c1803e29eb691b926182bdcab68
Signed-off-by: Sven Schnelle <svens@stackframe.org>
Reviewed-on: http://review.coreboot.org/355
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
20 files changed:
src/console/console.c
src/console/usbdebug_console.c
src/include/ehci.h
src/include/usbdebug.h
src/lib/Makefile.inc
src/lib/usbdebug.c
src/southbridge/amd/sb600/Makefile.inc
src/southbridge/amd/sb600/sb600.h
src/southbridge/amd/sb700/Makefile.inc
src/southbridge/amd/sb700/sb700.h
src/southbridge/amd/sb800/Makefile.inc
src/southbridge/amd/sb800/sb800.h
src/southbridge/intel/i82801gx/Makefile.inc
src/southbridge/intel/i82801gx/i82801gx.h
src/southbridge/nvidia/ck804/Makefile.inc
src/southbridge/nvidia/ck804/ck804.h
src/southbridge/nvidia/mcp55/Makefile.inc
src/southbridge/nvidia/mcp55/mcp55.h
src/southbridge/sis/sis966/Makefile.inc
src/southbridge/sis/sis966/sis966.h