summaryrefslogtreecommitdiff
path: root/src/northbridge/via
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2009-10-18 13:42:50 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2009-10-18 13:42:50 +0000
commit5c57df6c1a672218254c2625dd2bc949dacf469f (patch)
tree19c43f16cc3e3766236effbbefa0ff39bd5e85e6 /src/northbridge/via
parent2c1bf62d0c8c21bdda316ea0e20be6904bbcb6f5 (diff)
downloadcoreboot-5c57df6c1a672218254c2625dd2bc949dacf469f.tar.xz
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@hermann-uwe.de> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4805 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via')
-rw-r--r--src/northbridge/via/vt8601/raminit.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c
index b16d0be3c7..65c8088e68 100644
--- a/src/northbridge/via/vt8601/raminit.c
+++ b/src/northbridge/via/vt8601/raminit.c
@@ -69,20 +69,6 @@ void dimms_write(int x)
}
}
-#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;