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/southbridge/amd/cimx/sb700/chip_name.c | 25 ------------------------- src/southbridge/amd/cimx/sb800/chip_name.c | 25 ------------------------- src/southbridge/amd/cimx/sb900/chip_name.c | 25 ------------------------- src/southbridge/intel/i82801cx/chip.h | 8 -------- src/southbridge/intel/i82801cx/i82801cx.h | 1 - src/southbridge/intel/pxhd/chip.h | 5 ----- src/southbridge/intel/pxhd/pxhd.h | 1 - src/southbridge/ti/pcixx12/chip.h | 28 ---------------------------- src/southbridge/ti/pcixx12/pcixx12.c | 2 -- 9 files changed, 120 deletions(-) delete mode 100644 src/southbridge/amd/cimx/sb700/chip_name.c delete mode 100644 src/southbridge/amd/cimx/sb800/chip_name.c delete mode 100644 src/southbridge/amd/cimx/sb900/chip_name.c delete mode 100644 src/southbridge/intel/i82801cx/chip.h delete mode 100644 src/southbridge/intel/pxhd/chip.h delete mode 100644 src/southbridge/ti/pcixx12/chip.h (limited to 'src/southbridge') diff --git a/src/southbridge/amd/cimx/sb700/chip_name.c b/src/southbridge/amd/cimx/sb700/chip_name.c deleted file mode 100644 index 13d2276641..0000000000 --- a/src/southbridge/amd/cimx/sb700/chip_name.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2012 Advanced Micro Devices, 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 - */ - -#include -#include "chip.h" - -struct chip_operations southbridge_amd_cimx_sb700_ops = { - CHIP_NAME("AMD South Bridge SB700") -}; diff --git a/src/southbridge/amd/cimx/sb800/chip_name.c b/src/southbridge/amd/cimx/sb800/chip_name.c deleted file mode 100644 index 9ce89d6591..0000000000 --- a/src/southbridge/amd/cimx/sb800/chip_name.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011 Advanced Micro Devices, 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 - */ - -#include -#include "chip.h" - -struct chip_operations southbridge_amd_cimx_sb800_ops = { - CHIP_NAME("AMD South Bridge SB800") -}; diff --git a/src/southbridge/amd/cimx/sb900/chip_name.c b/src/southbridge/amd/cimx/sb900/chip_name.c deleted file mode 100644 index dd875dcfd6..0000000000 --- a/src/southbridge/amd/cimx/sb900/chip_name.c +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011 Advanced Micro Devices, 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 - */ - -#include -#include "chip.h" - -struct chip_operations southbridge_amd_cimx_sb900_ops = { - CHIP_NAME("AMD South Bridge SB900") -}; diff --git a/src/southbridge/intel/i82801cx/chip.h b/src/southbridge/intel/i82801cx/chip.h deleted file mode 100644 index 56185213eb..0000000000 --- a/src/southbridge/intel/i82801cx/chip.h +++ /dev/null @@ -1,8 +0,0 @@ -#ifndef I82801CX_CHIP_H -#define I82801CX_CHIP_H - -struct southbridge_intel_i82801cx_config -{ -}; - -#endif /* I82801CX_CHIP_H */ diff --git a/src/southbridge/intel/i82801cx/i82801cx.h b/src/southbridge/intel/i82801cx/i82801cx.h index da518a3660..28428830e2 100644 --- a/src/southbridge/intel/i82801cx/i82801cx.h +++ b/src/southbridge/intel/i82801cx/i82801cx.h @@ -3,7 +3,6 @@ #if !defined(__PRE_RAM__) #include -#include "chip.h" void i82801cx_enable(device_t dev); void i82801cx_hard_reset(void); #endif diff --git a/src/southbridge/intel/pxhd/chip.h b/src/southbridge/intel/pxhd/chip.h deleted file mode 100644 index 27d88a8277..0000000000 --- a/src/southbridge/intel/pxhd/chip.h +++ /dev/null @@ -1,5 +0,0 @@ -struct southbridge_intel_pxhd_config -{ - /* nothing */ -}; - diff --git a/src/southbridge/intel/pxhd/pxhd.h b/src/southbridge/intel/pxhd/pxhd.h index c3e6ce5cd7..b0e8cdbfce 100644 --- a/src/southbridge/intel/pxhd/pxhd.h +++ b/src/southbridge/intel/pxhd/pxhd.h @@ -1,6 +1,5 @@ #ifndef PXHD_H #define PXHD_H -#include "chip.h" #endif /* PXHD_H */ diff --git a/src/southbridge/ti/pcixx12/chip.h b/src/southbridge/ti/pcixx12/chip.h deleted file mode 100644 index 03151a8916..0000000000 --- a/src/southbridge/ti/pcixx12/chip.h +++ /dev/null @@ -1,28 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008 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 - */ - -#ifndef _SOUTHBRIDGE_TI_PCIXX12 -#define _SOUTHBRIDGE_TI_PCIXX12 - -struct southbridge_ti_pcixx12_config { - int dummy; - -}; - -#endif /* _SOUTHBRIDGE_TI_PCIXX12 */ diff --git a/src/southbridge/ti/pcixx12/pcixx12.c b/src/southbridge/ti/pcixx12/pcixx12.c index 0ea3b1130d..5e62292674 100644 --- a/src/southbridge/ti/pcixx12/pcixx12.c +++ b/src/southbridge/ti/pcixx12/pcixx12.c @@ -24,7 +24,6 @@ #include #include #include -#include "chip.h" static void pcixx12_init(device_t dev) { @@ -62,7 +61,6 @@ static const struct pci_driver ti_pcixx12_driver __pci_driver = { static void southbridge_init(device_t dev) { - // struct southbridge_ti_pcixx12_config *config = dev->chip_info; } struct chip_operations southbridge_ti_pcixx12_ops = { -- cgit v1.2.3