summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
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);