summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-09-24 18:18:20 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-09-24 18:18:20 +0000
commitb015d02a857b27a65a3ef52839361236645754d2 (patch)
tree25f3b2b53a2d9dc4e91b1fd2004ed9454d325344 /src/southbridge
parent8a6163e02b7fcbbeb0d3e88569a5df8bc3c7b072 (diff)
downloadcoreboot-b015d02a857b27a65a3ef52839361236645754d2.tar.xz
Hook up all AMD SB600/SB700 boards to the EHCI Debug Port infrastructure.
Without a (currently) dummy set_debug_port() function the build fails, this may or may not be fixed differently in the future. Manually build-tested on all SB600/SB700 boards, and tested on hardware on one SB600 board I own, works fine. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5833 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/amd/sb600/sb600_enable_usbdebug.c7
-rw-r--r--src/southbridge/amd/sb700/sb700_enable_usbdebug.c7
2 files changed, 14 insertions, 0 deletions
diff --git a/src/southbridge/amd/sb600/sb600_enable_usbdebug.c b/src/southbridge/amd/sb600/sb600_enable_usbdebug.c
index fe3df8e1c4..723cc2d839 100644
--- a/src/southbridge/amd/sb600/sb600_enable_usbdebug.c
+++ b/src/southbridge/amd/sb600/sb600_enable_usbdebug.c
@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <usbdebug.h>
+
#ifndef SB600_DEVN_BASE
#define SB600_DEVN_BASE 0
@@ -27,6 +29,11 @@
#define EHCI_BAR 0xFEF00000
#define EHCI_DEBUG_OFFSET 0xE0
+/* Required for successful build, but currently empty. */
+void set_debug_port(unsigned int port)
+{
+}
+
static void sb600_enable_usbdebug(u32 port)
{
set_debug_port(port);
diff --git a/src/southbridge/amd/sb700/sb700_enable_usbdebug.c b/src/southbridge/amd/sb700/sb700_enable_usbdebug.c
index 771a43a44e..746cc4306a 100644
--- a/src/southbridge/amd/sb700/sb700_enable_usbdebug.c
+++ b/src/southbridge/amd/sb700/sb700_enable_usbdebug.c
@@ -17,6 +17,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <usbdebug.h>
+
#ifndef SB700_DEVN_BASE
#define SB700_DEVN_BASE 0
@@ -27,6 +29,11 @@
#define EHCI_BAR 0xFEF00000
#define EHCI_DEBUG_OFFSET 0xE0
+/* Required for successful build, but currently empty. */
+void set_debug_port(unsigned int port)
+{
+}
+
static void sb700_enable_usbdebug(u32 port)
{
set_debug_port(port);