summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia/mcp55/mcp55.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/nvidia/mcp55/mcp55.h')
-rw-r--r--src/southbridge/nvidia/mcp55/mcp55.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/southbridge/nvidia/mcp55/mcp55.h b/src/southbridge/nvidia/mcp55/mcp55.h
index e746cb6398..6199965aa9 100644
--- a/src/southbridge/nvidia/mcp55/mcp55.h
+++ b/src/southbridge/nvidia/mcp55/mcp55.h
@@ -22,13 +22,21 @@
#ifndef MCP55_H
#define MCP55_H
-#include "chip.h"
+#if CONFIG_HT_CHAIN_END_UNITID_BASE != 0x20
+ #define MCP55_DEVN_BASE CONFIG_HT_CHAIN_END_UNITID_BASE
+#else
+ #define MCP55_DEVN_BASE CONFIG_HT_CHAIN_UNITID_BASE
+#endif
#ifndef __PRE_RAM__
+#include "chip.h"
void mcp55_enable(device_t dev);
extern struct pci_operations mcp55_pci_ops;
#else
+#if !defined(__ROMCC__)
void enable_fid_change_on_sb(unsigned sbbusn, unsigned sbdn);
-#endif
void mcp55_enable_usbdebug(unsigned int port);
+#endif
+#endif
+
#endif /* MCP55_H */