From 1d888a97849d68a7136da558c3697c7f2a8d898a Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 21 Apr 2011 20:24:43 +0000 Subject: some ifdef --> if fixes Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6535 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/via/k8t890/early_car.c | 10 +++++----- src/southbridge/via/vt8237r/lpc.c | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/southbridge') diff --git a/src/southbridge/via/k8t890/early_car.c b/src/southbridge/via/k8t890/early_car.c index 240e5aa75e..3fb70033df 100644 --- a/src/southbridge/via/k8t890/early_car.c +++ b/src/southbridge/via/k8t890/early_car.c @@ -69,15 +69,15 @@ u8 k8t890_early_setup_ht(void) ldtnr = 2; } -#if defined(CONFIG_SOUTHBRIDGE_VIA_K8M800) +#if CONFIG_SOUTHBRIDGE_VIA_K8M800 print_debug("K8M800 found at LDT "); -#elif defined(CONFIG_SOUTHBRIDGE_VIA_K8T800) +#elif CONFIG_SOUTHBRIDGE_VIA_K8T800 print_debug("K8T800 found at LDT "); -#elif defined(CONFIG_SOUTHBRIDGE_VIA_K8T800PRO) +#elif CONFIG_SOUTHBRIDGE_VIA_K8T800PRO print_debug("K8T800 Pro found at LDT "); -#elif defined(CONFIG_SOUTHBRIDGE_VIA_K8M890) +#elif CONFIG_SOUTHBRIDGE_VIA_K8M890 print_debug("K8M890 found at LDT "); -#elif defined(CONFIG_SOUTHBRIDGE_VIA_K8T890) +#elif CONFIG_SOUTHBRIDGE_VIA_K8T890 print_debug("K8T890 found at LDT "); #endif print_debug_hex8(ldtnr); diff --git a/src/southbridge/via/vt8237r/lpc.c b/src/southbridge/via/vt8237r/lpc.c index 7dd013ba89..61f4989f54 100644 --- a/src/southbridge/via/vt8237r/lpc.c +++ b/src/southbridge/via/vt8237r/lpc.c @@ -300,7 +300,7 @@ static void vt8237r_init(struct device *dev) pci_write_config8(dev, 0x48, 0x0c); #else - #if defined(CONFIG_SOUTHBRIDGE_VIA_K8T800) + #if CONFIG_SOUTHBRIDGE_VIA_K8T800 /* It seems that when we pair with the K8T800, we need to disable * the A2 mask */ -- cgit v1.2.3