[coreboot] [v2] r4805 - trunk/coreboot-v2/src/northbridge/via/vt8601
svn at coreboot.org
svn at coreboot.org
Sun Oct 18 15:42:50 CEST 2009
Author: uwe
Date: 2009-10-18 15:42:50 +0200 (Sun, 18 Oct 2009)
New Revision: 4805
Modified:
trunk/coreboot-v2/src/northbridge/via/vt8601/raminit.c
Log:
Drop dead/unused code (trivial).
DEBUG_SETNORTHB is never defined, and even if it was, setnorthb()
is never called anyway.
Signed-off-by: Uwe Hermann <uwe at hermann-uwe.de>
Acked-by: Uwe Hermann <uwe at hermann-uwe.de>
Modified: trunk/coreboot-v2/src/northbridge/via/vt8601/raminit.c
===================================================================
--- trunk/coreboot-v2/src/northbridge/via/vt8601/raminit.c 2009-10-18 03:15:59 UTC (rev 4804)
+++ trunk/coreboot-v2/src/northbridge/via/vt8601/raminit.c 2009-10-18 13:42:50 UTC (rev 4805)
@@ -69,20 +69,6 @@
}
}
-#ifdef DEBUG_SETNORTHB
-void setnorthb(device_t north, uint8_t reg, uint8_t val)
-{
- print_debug("setnorth: reg ");
- print_debug_hex8(reg);
- print_debug(" to ");
- print_debug_hex8(val);
- print_debug("\r\n");
- pci_write_config8(north, reg, val);
-}
-#else
-#define setnorthb pci_write_config8
-#endif
-
void dumpnorth(device_t north)
{
unsigned int r, c;
More information about the coreboot
mailing list