summaryrefslogtreecommitdiff
path: root/src/northbridge/via
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2010-09-25 14:58:28 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-09-25 14:58:28 +0000
commitf14c9194ff6a0036f2ebec492670dd23a55493d2 (patch)
tree4cb76fa4e103950df097a29cc0d1ec4bc3fad580 /src/northbridge/via
parent370d979a93b1a63d1f8afc1ec2eb7cf54947ce35 (diff)
downloadcoreboot-f14c9194ff6a0036f2ebec492670dd23a55493d2.tar.xz
Various CONFIG_DEBUG_RAM_SETUP related fixes (trivial).
Some boards still used the old DEBUG_RAM_SETUP (without _CONFIG prefix). Also, consistently use "#if CONFIG_DEBUG_RAM_SETUP" (not #ifdef) as we do elsewhere. 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@5843 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/via')
-rw-r--r--src/northbridge/via/vt8601/Kconfig1
-rw-r--r--src/northbridge/via/vt8601/raminit.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/src/northbridge/via/vt8601/Kconfig b/src/northbridge/via/vt8601/Kconfig
index cb64dbcb31..1b202679ab 100644
--- a/src/northbridge/via/vt8601/Kconfig
+++ b/src/northbridge/via/vt8601/Kconfig
@@ -1,3 +1,4 @@
config NORTHBRIDGE_VIA_VT8601
bool
+ select HAVE_DEBUG_RAM_SETUP
diff --git a/src/northbridge/via/vt8601/raminit.c b/src/northbridge/via/vt8601/raminit.c
index 2365b8d8fb..f1ebbe5338 100644
--- a/src/northbridge/via/vt8601/raminit.c
+++ b/src/northbridge/via/vt8601/raminit.c
@@ -69,7 +69,7 @@ static void dimms_write(int x)
}
}
-#ifdef CONFIG_DEBUG_RAM_SETUP
+#if CONFIG_DEBUG_RAM_SETUP
static void dumpnorth(device_t north)
{
unsigned int r, c;