Author: yhlu Date: 2006-10-13 23:48:38 +0200 (Fri, 13 Oct 2006) New Revision: 2455
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c Log: s2895 failover build
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c =================================================================== --- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c 2006-10-13 20:10:09 UTC (rev 2454) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c 2006-10-13 21:48:38 UTC (rev 2455) @@ -2,8 +2,12 @@ * 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) { unsigned char byte;
* svn@openbios.org svn@openbios.org [061013 23:48]:
Author: yhlu Date: 2006-10-13 23:48:38 +0200 (Fri, 13 Oct 2006) New Revision: 2455
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c Log: s2895 failover build
What is this good for?
Modified: trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c
--- trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c 2006-10-13 20:10:09 UTC (rev 2454) +++ trunk/LinuxBIOSv2/src/southbridge/nvidia/ck804/ck804_enable_rom.c 2006-10-13 21:48:38 UTC (rev 2455) @@ -2,8 +2,12 @@
- 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