From 02790369ff72d9d2ed5b65eee28f9cde56f3d541 Mon Sep 17 00:00:00 2001 From: Kyösti Mälkki Date: Fri, 24 Aug 2012 21:54:10 +0300 Subject: Remove chip.h files without config structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Also deletes files not included in build: src/southbridge/amd/cimx/sb700/chip_name.c src/southbridge/amd/cimx/sb800/chip_name.c src/southbridge/amd/cimx/sb900/chip_name.c Change-Id: I2068e3859157b758ccea0ca91fa47d09a8639361 Signed-off-by: Kyösti Mälkki Reviewed-on: http://review.coreboot.org/1473 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Marc Jones --- src/northbridge/via/cn400/agp.c | 1 - src/northbridge/via/cn400/chip.h | 23 ----------------------- src/northbridge/via/cn400/northbridge.c | 1 - src/northbridge/via/cn400/vga.c | 1 - src/northbridge/via/cn400/vlink.c | 1 - src/northbridge/via/cn700/agp.c | 1 - src/northbridge/via/cn700/chip.h | 23 ----------------------- src/northbridge/via/cn700/northbridge.c | 1 - src/northbridge/via/cn700/vga.c | 1 - src/northbridge/via/cx700/chip.h | 22 ---------------------- src/northbridge/via/cx700/northbridge.c | 1 - src/northbridge/via/cx700/vga.c | 1 - src/northbridge/via/vt8601/chip.h | 4 ---- src/northbridge/via/vt8601/northbridge.c | 1 - src/northbridge/via/vt8623/chip.h | 4 ---- src/northbridge/via/vt8623/northbridge.c | 1 - src/northbridge/via/vt8623/vga.c | 1 - src/northbridge/via/vx800/chip.h | 22 ---------------------- src/northbridge/via/vx800/ide.c | 5 ----- src/northbridge/via/vx800/lpc.c | 1 - src/northbridge/via/vx800/northbridge.c | 1 - src/northbridge/via/vx800/vga.c | 1 - 22 files changed, 118 deletions(-) delete mode 100644 src/northbridge/via/cn400/chip.h delete mode 100644 src/northbridge/via/cn700/chip.h delete mode 100644 src/northbridge/via/cx700/chip.h delete mode 100644 src/northbridge/via/vt8601/chip.h delete mode 100644 src/northbridge/via/vt8623/chip.h delete mode 100644 src/northbridge/via/vx800/chip.h (limited to 'src/northbridge/via') diff --git a/src/northbridge/via/cn400/agp.c b/src/northbridge/via/cn400/agp.c index a302759371..f6dbc696ee 100644 --- a/src/northbridge/via/cn400/agp.c +++ b/src/northbridge/via/cn400/agp.c @@ -24,7 +24,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn400.h" diff --git a/src/northbridge/via/cn400/chip.h b/src/northbridge/via/cn400/chip.h deleted file mode 100644 index e403d352c0..0000000000 --- a/src/northbridge/via/cn400/chip.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2007 Corey Osgood - * - * 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 2 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -struct northbridge_via_cn400_config { -}; - diff --git a/src/northbridge/via/cn400/northbridge.c b/src/northbridge/via/cn400/northbridge.c index 74e0edff53..61d7345d99 100644 --- a/src/northbridge/via/cn400/northbridge.c +++ b/src/northbridge/via/cn400/northbridge.c @@ -30,7 +30,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn400.h" diff --git a/src/northbridge/via/cn400/vga.c b/src/northbridge/via/cn400/vga.c index 7641a81012..8c75a4fa30 100644 --- a/src/northbridge/via/cn400/vga.c +++ b/src/northbridge/via/cn400/vga.c @@ -34,7 +34,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn400.h" diff --git a/src/northbridge/via/cn400/vlink.c b/src/northbridge/via/cn400/vlink.c index dc574c130d..85a0fc676f 100644 --- a/src/northbridge/via/cn400/vlink.c +++ b/src/northbridge/via/cn400/vlink.c @@ -22,7 +22,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn400.h" diff --git a/src/northbridge/via/cn700/agp.c b/src/northbridge/via/cn700/agp.c index 327fac4ea2..ba84f7987d 100644 --- a/src/northbridge/via/cn700/agp.c +++ b/src/northbridge/via/cn700/agp.c @@ -24,7 +24,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn700.h" diff --git a/src/northbridge/via/cn700/chip.h b/src/northbridge/via/cn700/chip.h deleted file mode 100644 index 5b1515dc8f..0000000000 --- a/src/northbridge/via/cn700/chip.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2007 Corey Osgood - * - * 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 2 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -struct northbridge_via_cn700_config { -}; - diff --git a/src/northbridge/via/cn700/northbridge.c b/src/northbridge/via/cn700/northbridge.c index ced4c2f740..837ec8572e 100644 --- a/src/northbridge/via/cn700/northbridge.c +++ b/src/northbridge/via/cn700/northbridge.c @@ -30,7 +30,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn700.h" diff --git a/src/northbridge/via/cn700/vga.c b/src/northbridge/via/cn700/vga.c index 33d1fe0071..d184644fd4 100644 --- a/src/northbridge/via/cn700/vga.c +++ b/src/northbridge/via/cn700/vga.c @@ -34,7 +34,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "cn700.h" diff --git a/src/northbridge/via/cx700/chip.h b/src/northbridge/via/cx700/chip.h deleted file mode 100644 index 0e8491bbb4..0000000000 --- a/src/northbridge/via/cx700/chip.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2007-2009 coresystems GmbH - * - * 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; version 2 of the License. - * - * 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -struct northbridge_via_cx700_config { -}; - diff --git a/src/northbridge/via/cx700/northbridge.c b/src/northbridge/via/cx700/northbridge.c index 4fca723472..1df9ce0814 100644 --- a/src/northbridge/via/cx700/northbridge.c +++ b/src/northbridge/via/cx700/northbridge.c @@ -29,7 +29,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #if CONFIG_WRITE_HIGH_TABLES diff --git a/src/northbridge/via/cx700/vga.c b/src/northbridge/via/cx700/vga.c index 91dd8649e9..821edc4992 100644 --- a/src/northbridge/via/cx700/vga.c +++ b/src/northbridge/via/cx700/vga.c @@ -31,7 +31,6 @@ #include #include #include "registers.h" -#include "chip.h" #include "northbridge.h" /* PCI Domain 1 Device 0 Function 0 */ diff --git a/src/northbridge/via/vt8601/chip.h b/src/northbridge/via/vt8601/chip.h deleted file mode 100644 index c65e12e54c..0000000000 --- a/src/northbridge/via/vt8601/chip.h +++ /dev/null @@ -1,4 +0,0 @@ -struct northbridge_via_vt8601_config -{ -}; - diff --git a/src/northbridge/via/vt8601/northbridge.c b/src/northbridge/via/vt8601/northbridge.c index 92adf3206f..f5f084c17a 100644 --- a/src/northbridge/via/vt8601/northbridge.c +++ b/src/northbridge/via/vt8601/northbridge.c @@ -9,7 +9,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" /* diff --git a/src/northbridge/via/vt8623/chip.h b/src/northbridge/via/vt8623/chip.h deleted file mode 100644 index 5fb3f80999..0000000000 --- a/src/northbridge/via/vt8623/chip.h +++ /dev/null @@ -1,4 +0,0 @@ -struct northbridge_via_vt8623_config -{ -}; - diff --git a/src/northbridge/via/vt8623/northbridge.c b/src/northbridge/via/vt8623/northbridge.c index 5ea2212993..76cd7a052c 100644 --- a/src/northbridge/via/vt8623/northbridge.c +++ b/src/northbridge/via/vt8623/northbridge.c @@ -11,7 +11,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" /* diff --git a/src/northbridge/via/vt8623/vga.c b/src/northbridge/via/vt8623/vga.c index 933c73381a..20857a69a8 100644 --- a/src/northbridge/via/vt8623/vga.c +++ b/src/northbridge/via/vt8623/vga.c @@ -30,7 +30,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" static int via_vt8623_int15_handler(struct eregs *regs) diff --git a/src/northbridge/via/vx800/chip.h b/src/northbridge/via/vx800/chip.h deleted file mode 100644 index 64df31af51..0000000000 --- a/src/northbridge/via/vx800/chip.h +++ /dev/null @@ -1,22 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2009 One Laptop per Child, Association, Inc. - * - * 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; version 2 of the License. - * - * 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, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA - */ - -struct northbridge_via_vx800_config { -}; - diff --git a/src/northbridge/via/vx800/ide.c b/src/northbridge/via/vx800/ide.c index 9fa8f35dbe..4ed4879684 100644 --- a/src/northbridge/via/vx800/ide.c +++ b/src/northbridge/via/vx800/ide.c @@ -22,7 +22,6 @@ #include #include #include -#include "chip.h" #include #include "vx800.h" @@ -191,10 +190,6 @@ static void ide_init(struct device *dev) pci_write_config8(dev, PCI_INTERRUPT_PIN, 0x0); pci_write_config8(dev, PCI_INTERRUPT_LINE, 0xff); #if 0 - - struct southbridge_via_vt8237r_config *sb = - (struct southbridge_via_vt8237r_config *)dev->chip_info; - u8 enables; u32 cablesel; diff --git a/src/northbridge/via/vx800/lpc.c b/src/northbridge/via/vx800/lpc.c index b9941d1270..b5cd5a3d1c 100644 --- a/src/northbridge/via/vx800/lpc.c +++ b/src/northbridge/via/vx800/lpc.c @@ -28,7 +28,6 @@ #include #include #include "vx800.h" -#include "chip.h" static const unsigned char pciIrqs[4] = { 0xa, 0x9, 0xb, 0xa }; diff --git a/src/northbridge/via/vx800/northbridge.c b/src/northbridge/via/vx800/northbridge.c index f3cfa418aa..6274e2333e 100644 --- a/src/northbridge/via/vx800/northbridge.c +++ b/src/northbridge/via/vx800/northbridge.c @@ -31,7 +31,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" #include "vx800.h" diff --git a/src/northbridge/via/vx800/vga.c b/src/northbridge/via/vx800/vga.c index e43801263e..bb7de9ec9d 100644 --- a/src/northbridge/via/vx800/vga.c +++ b/src/northbridge/via/vx800/vga.c @@ -33,7 +33,6 @@ #include #include #include -#include "chip.h" #include "northbridge.h" /* PCI Domain 1 Device 0 Function 0 */ -- cgit v1.2.3