From f14c9194ff6a0036f2ebec492670dd23a55493d2 Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Sat, 25 Sep 2010 14:58:28 +0000 Subject: 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 Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5843 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/via/vt8601/Kconfig | 1 + src/northbridge/via/vt8601/raminit.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src/northbridge/via') 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; -- cgit v1.2.3