summaryrefslogtreecommitdiff
path: root/src/southbridge
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge')
-rw-r--r--src/southbridge/nvidia/ck804/ck804_enable_rom.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/southbridge/nvidia/ck804/ck804_enable_rom.c b/src/southbridge/nvidia/ck804/ck804_enable_rom.c
index 070c09efe3..fa1c2e19fb 100644
--- a/src/southbridge/nvidia/ck804/ck804_enable_rom.c
+++ b/src/southbridge/nvidia/ck804/ck804_enable_rom.c
@@ -2,7 +2,11 @@
* Copyright 2004 Tyan Computer
* by yhlu@tyan.com
*/
-
+#if HT_CHAIN_END_UNITID_BASE < HT_CHAIN_UNITID_BASE
+ #define CK804_DEVN_BASE HT_CHAIN_END_UNITID_BASE
+#else
+ #define CK804_DEVN_BASE HT_CHAIN_UNITID_BASE
+#endif
static void ck804_enable_rom(void)
{