From 650cf237ac4e314d168fbe23fe8fceb9c192849b Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 16 Feb 2011 17:40:04 +0000 Subject: Fix build errors introduced in r6367 Signed-off-by: Alexandru Gagniuc Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6369 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/southbridge/via/k8t890/k8x8xx.h | 25 +++++++++++++++++++++++++ src/southbridge/via/vt8237r/lpc.c | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 src/southbridge/via/k8t890/k8x8xx.h (limited to 'src/southbridge/via') diff --git a/src/southbridge/via/k8t890/k8x8xx.h b/src/southbridge/via/k8t890/k8x8xx.h new file mode 100644 index 0000000000..0432983656 --- /dev/null +++ b/src/southbridge/via/k8t890/k8x8xx.h @@ -0,0 +1,25 @@ +/* + * This file is part of the coreboot project. + * + * Copyright (C) 2011 Alexandru Gagniuc + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +#ifndef SOUTHBRIDGE_VIA_K8T890_K8X8XX_H +#define SOUTHBRIDGE_VIA_K8T890_K8X8XX_H + +#include "k8t890.h" + +#endif /* SOUTHBRIDGE_VIA_K8T890_K8X8XX_H */ diff --git a/src/southbridge/via/vt8237r/lpc.c b/src/southbridge/via/vt8237r/lpc.c index 61f4989f54..7dd013ba89 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 CONFIG_SOUTHBRIDGE_VIA_K8T800 + #if defined(CONFIG_SOUTHBRIDGE_VIA_K8T800) /* It seems that when we pair with the K8T800, we need to disable * the A2 mask */ -- cgit v1.2.3