summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Georgi <patrick.georgi@coresystems.de>2010-10-05 13:40:31 +0000
committerPatrick Georgi <patrick.georgi@coresystems.de>2010-10-05 13:40:31 +0000
commit5692c5733633bfb8b23f1111de152eff0233b713 (patch)
treed315817986c71d6710f75dceb87689b95e1bff53 /src/include
parentd0835953506263b0d9218b62176693315f2ef2f3 (diff)
- move EHCI_BAR_INDEX to ehci.h - it's constant as per EHCI spec 2.3.1
- move EHCI_BAR and EHCI_DEBUG_OFFSET to Kconfig to be set by USB debug port enabled southbridges - drop USB debug code includes from romstage.cs and use romstage-srcs in the build system instead Signed-off-by: Patrick Georgi <patrick.georgi@coresystems.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5911 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ehci.h2
-rw-r--r--src/include/usbdebug.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/include/ehci.h b/src/include/ehci.h
index 5dc2bb3935..4b8c94cd24 100644
--- a/src/include/ehci.h
+++ b/src/include/ehci.h
@@ -23,6 +23,8 @@
#ifndef EHCI_H
#define EHCI_H
+#define EHCI_BAR_INDEX 0x10
+
/* EHCI register interface, corresponds to EHCI Revision 0.95 specification */
/* Section 2.2 Host Controller Capability Registers */
diff --git a/src/include/usbdebug.h b/src/include/usbdebug.h
index 54d817afe5..710675f4d4 100644
--- a/src/include/usbdebug.h
+++ b/src/include/usbdebug.h
@@ -41,6 +41,7 @@ void set_ehci_base(unsigned ehci_base);
void set_ehci_debug(unsigned ehci_deug);
unsigned get_ehci_debug(void);
void set_debug_port(unsigned port);
+void early_usbdebug_init(void);
void usbdebug_ram_tx_byte(unsigned char data);
void usbdebug_tx_byte(unsigned char data);