summaryrefslogtreecommitdiff
path: root/src/southbridge/nvidia
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2006-10-13 21:48:38 +0000
committerYinghai Lu <yinghailu@gmail.com>2006-10-13 21:48:38 +0000
commita112bb0bca518692ba6413d5dd5c73234777d664 (patch)
treed7debb51841c529cf7625ccdb4eb06a6a835adc1 /src/southbridge/nvidia
parent0ab46b9026d8f0fe330ab1ab3dedb70a7e84acff (diff)
s2895 failover build
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2455 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/nvidia')
-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)
{