aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/sis/sis966/sis966.h
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-12-16 19:57:54 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-12-16 19:57:54 +0000
commitb9c224e9c53c8e0df9835c0cfe5d28f98678c375 (patch)
tree577f19883dbe287194bc12cbf00c954f990ccf84 /src/southbridge/sis/sis966/sis966.h
parentc36d506a05ad02f65d92d0f5a7b70a7c25666445 (diff)
Add TINY_BOOTBLOCK support for the SiS966 southbridge.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Reinauer <stepan@coreboot.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6184 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/sis/sis966/sis966.h')
-rw-r--r--src/southbridge/sis/sis966/sis966.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/southbridge/sis/sis966/sis966.h b/src/southbridge/sis/sis966/sis966.h
index 324beef3c9..a451bf7e55 100644
--- a/src/southbridge/sis/sis966/sis966.h
+++ b/src/southbridge/sis/sis966/sis966.h
@@ -22,6 +22,12 @@
#ifndef SIS966_H
#define SIS966_H
+#if CONFIG_HT_CHAIN_END_UNITID_BASE < CONFIG_HT_CHAIN_UNITID_BASE
+#define SIS966_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
+#else
+#define SIS966_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
+#endif
+
#define DEBUG_AZA 0
#define DEBUG_NIC 0
#define DEBUG_IDE 0
@@ -29,9 +35,12 @@
#define DEBUG_USB 0
#define DEBUG_USB2 0
-#include "chip.h"
-
+#if !defined(__ROMCC__)
void sis966_enable(device_t dev);
+#endif
+
+#if defined(__PRE_RAM__) && !defined(__ROMCC__)
void sis966_enable_usbdebug(unsigned int port);
+#endif
#endif /* SIS966_H */