diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2012-08-24 21:54:10 +0300 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2012-10-07 12:55:04 +0200 |
commit | 02790369ff72d9d2ed5b65eee28f9cde56f3d541 (patch) | |
tree | 0c75c91cf49e03d2650932762090dc347ac8cc10 /src/superio | |
parent | 1f0d379a7e87b12b2b6a4af7833f633b08ef7184 (diff) | |
download | coreboot-02790369ff72d9d2ed5b65eee28f9cde56f3d541.tar.xz |
Remove chip.h files without config structure
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 <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/1473
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Reviewed-by: Marc Jones <marcj303@gmail.com>
Diffstat (limited to 'src/superio')
-rw-r--r-- | src/superio/fintek/f71805f/chip.h | 33 | ||||
-rw-r--r-- | src/superio/fintek/f71805f/superio.c | 1 | ||||
-rw-r--r-- | src/superio/fintek/f71859/chip.h | 31 | ||||
-rw-r--r-- | src/superio/fintek/f71859/superio.c | 1 | ||||
-rw-r--r-- | src/superio/intel/i3100/chip.h | 30 | ||||
-rw-r--r-- | src/superio/intel/i3100/superio.c | 1 | ||||
-rw-r--r-- | src/superio/ite/it8661f/chip.h | 33 | ||||
-rw-r--r-- | src/superio/ite/it8661f/superio.c | 1 | ||||
-rw-r--r-- | src/superio/ite/it8705f/chip.h | 33 | ||||
-rw-r--r-- | src/superio/ite/it8705f/superio.c | 3 | ||||
-rw-r--r-- | src/superio/nsc/pc87382/chip.h | 30 | ||||
-rw-r--r-- | src/superio/nsc/pc87382/superio.c | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87384/chip.h | 30 | ||||
-rw-r--r-- | src/superio/nsc/pc87384/superio.c | 1 | ||||
-rw-r--r-- | src/superio/nsc/pc87392/chip.h | 30 | ||||
-rw-r--r-- | src/superio/nsc/pc87392/superio.c | 1 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/chip.h | 30 | ||||
-rw-r--r-- | src/superio/smsc/lpc47n217/superio.c | 4 | ||||
-rw-r--r-- | src/superio/via/vt1211/chip.h | 30 | ||||
-rw-r--r-- | src/superio/via/vt1211/vt1211.c | 1 |
20 files changed, 0 insertions, 325 deletions
diff --git a/src/superio/fintek/f71805f/chip.h b/src/superio/fintek/f71805f/chip.h deleted file mode 100644 index 603dbee365..0000000000 --- a/src/superio/fintek/f71805f/chip.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2007 Corey Osgood <corey@slightlyhackish.com> - * - * 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 - */ - -#ifndef SUPERIO_FINTEK_F71805F_CHIP_H -#define SUPERIO_FINTEK_F71805F_CHIP_H - -#include <device/device.h> -#include <uart8250.h> - -/* This chip doesn't have keyboard and mouse support. */ - -struct superio_fintek_f71805f_config { - -}; - -#endif diff --git a/src/superio/fintek/f71805f/superio.c b/src/superio/fintek/f71805f/superio.c index 5f179466ca..afe5b8caec 100644 --- a/src/superio/fintek/f71805f/superio.c +++ b/src/superio/fintek/f71805f/superio.c @@ -24,7 +24,6 @@ #include <console/console.h> #include <stdlib.h> #include <uart8250.h> -#include "chip.h" #include "f71805f.h" static void pnp_enter_conf_state(device_t dev) diff --git a/src/superio/fintek/f71859/chip.h b/src/superio/fintek/f71859/chip.h deleted file mode 100644 index bd45ac0376..0000000000 --- a/src/superio/fintek/f71859/chip.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2010 Marc Jones <marcj303@gmail.com> - * - * 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 - */ - -#ifndef SUPERIO_FINTEK_F71859_CHIP_H -#define SUPERIO_FINTEK_F71859_CHIP_H - -#include <device/device.h> -#include <uart8250.h> - -struct superio_fintek_f71859_config { - -}; - -#endif diff --git a/src/superio/fintek/f71859/superio.c b/src/superio/fintek/f71859/superio.c index 809140b5a1..a0158ba7b2 100644 --- a/src/superio/fintek/f71859/superio.c +++ b/src/superio/fintek/f71859/superio.c @@ -25,7 +25,6 @@ #include <console/console.h> #include <stdlib.h> #include <uart8250.h> -#include "chip.h" #include "f71859.h" static void pnp_enter_conf_state(device_t dev) diff --git a/src/superio/intel/i3100/chip.h b/src/superio/intel/i3100/chip.h deleted file mode 100644 index 05e2f452bf..0000000000 --- a/src/superio/intel/i3100/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008 Arastra, 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; 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 - */ - -#ifndef SUPERIO_INTEL_I3100_CHIP_H -#define SUPERIO_INTEL_I3100_CHIP_H - -#include <device/device.h> -#include <uart8250.h> - -struct superio_intel_i3100_config { -}; - -#endif diff --git a/src/superio/intel/i3100/superio.c b/src/superio/intel/i3100/superio.c index 74862eb6ff..b8c107d969 100644 --- a/src/superio/intel/i3100/superio.c +++ b/src/superio/intel/i3100/superio.c @@ -22,7 +22,6 @@ #include <device/device.h> #include <device/pnp.h> #include <uart8250.h> -#include "chip.h" #include "i3100.h" #include <arch/io.h> diff --git a/src/superio/ite/it8661f/chip.h b/src/superio/ite/it8661f/chip.h deleted file mode 100644 index 1d9d1f9ba3..0000000000 --- a/src/superio/ite/it8661f/chip.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de> - * - * 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 - */ - -#ifndef SUPERIO_ITE_IT8661F_CHIP_H -#define SUPERIO_ITE_IT8661F_CHIP_H - -/* This chip doesn't have keyboard and mouse support. */ - -#include <device/device.h> -#include <uart8250.h> - -struct superio_ite_it8661f_config { - -}; - -#endif diff --git a/src/superio/ite/it8661f/superio.c b/src/superio/ite/it8661f/superio.c index fcf54e7dc3..a348a7f3d3 100644 --- a/src/superio/ite/it8661f/superio.c +++ b/src/superio/ite/it8661f/superio.c @@ -22,7 +22,6 @@ #include <device/pnp.h> #include <uart8250.h> #include <stdlib.h> -#include "chip.h" #include "it8661f.h" /* TODO: Add pnp_enter_ext_func_mode() etc. and wrap functions. */ diff --git a/src/superio/ite/it8705f/chip.h b/src/superio/ite/it8705f/chip.h deleted file mode 100644 index ac2ba77e87..0000000000 --- a/src/superio/ite/it8705f/chip.h +++ /dev/null @@ -1,33 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2006 Uwe Hermann <uwe@hermann-uwe.de> - * - * 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 - */ - -#ifndef SUPERIO_ITE_IT8705F_CHIP_H -#define SUPERIO_ITE_IT8705F_CHIP_H - -/* This chip doesn't have keyboard and mouse support. */ - -#include <device/device.h> -#include <uart8250.h> - -struct superio_ite_it8705f_config { - -}; - -#endif diff --git a/src/superio/ite/it8705f/superio.c b/src/superio/ite/it8705f/superio.c index 8f14a34c53..8992ea2bff 100644 --- a/src/superio/ite/it8705f/superio.c +++ b/src/superio/ite/it8705f/superio.c @@ -22,13 +22,10 @@ #include <device/pnp.h> #include <uart8250.h> #include <stdlib.h> -#include "chip.h" #include "it8705f.h" static void init(device_t dev) { - struct superio_ite_it8705f_config *conf = dev->chip_info; - if (!dev->enabled) return; diff --git a/src/superio/nsc/pc87382/chip.h b/src/superio/nsc/pc87382/chip.h deleted file mode 100644 index a9f0200f18..0000000000 --- a/src/superio/nsc/pc87382/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> - * - * 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 - */ - -#ifndef SUPERIO_NSC_PC87382_CHIP_H -#define SUPERIO_NSC_PC87382_CHIP_H - -#include <uart8250.h> - -struct superio_nsc_pc87382_config { - -}; - -#endif diff --git a/src/superio/nsc/pc87382/superio.c b/src/superio/nsc/pc87382/superio.c index 7f4afe3d27..9d4bee0f7a 100644 --- a/src/superio/nsc/pc87382/superio.c +++ b/src/superio/nsc/pc87382/superio.c @@ -27,7 +27,6 @@ #include <uart8250.h> #include <pc80/keyboard.h> #include <stdlib.h> -#include "chip.h" #include "pc87382.h" static void init(device_t dev) diff --git a/src/superio/nsc/pc87384/chip.h b/src/superio/nsc/pc87384/chip.h deleted file mode 100644 index 1c49725235..0000000000 --- a/src/superio/nsc/pc87384/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> - * - * 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 - */ - -#ifndef SUPERIO_NSC_PC87384_CHIP_H -#define SUPERIO_NSC_PC87384_CHIP_H - -#include <uart8250.h> - -struct superio_nsc_pc87384_config { - -}; - -#endif diff --git a/src/superio/nsc/pc87384/superio.c b/src/superio/nsc/pc87384/superio.c index 11ddc822aa..39177fd7d2 100644 --- a/src/superio/nsc/pc87384/superio.c +++ b/src/superio/nsc/pc87384/superio.c @@ -27,7 +27,6 @@ #include <uart8250.h> #include <pc80/keyboard.h> #include <stdlib.h> -#include "chip.h" #include "pc87384.h" static struct device_operations ops = { diff --git a/src/superio/nsc/pc87392/chip.h b/src/superio/nsc/pc87392/chip.h deleted file mode 100644 index a6ebf1b5d9..0000000000 --- a/src/superio/nsc/pc87392/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2011 Sven Schnelle <svens@stackframe.org> - * - * 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 - */ - -#ifndef SUPERIO_NSC_PC87392_CHIP_H -#define SUPERIO_NSC_PC87392_CHIP_H - -#include <uart8250.h> - -struct superio_nsc_pc87392_config { - -}; - -#endif diff --git a/src/superio/nsc/pc87392/superio.c b/src/superio/nsc/pc87392/superio.c index 1b527ad679..81c679c36c 100644 --- a/src/superio/nsc/pc87392/superio.c +++ b/src/superio/nsc/pc87392/superio.c @@ -26,7 +26,6 @@ #include <bitops.h> #include <uart8250.h> #include <stdlib.h> -#include "chip.h" #include "pc87392.h" static void init(device_t dev) diff --git a/src/superio/smsc/lpc47n217/chip.h b/src/superio/smsc/lpc47n217/chip.h deleted file mode 100644 index b0fbe8cfe6..0000000000 --- a/src/superio/smsc/lpc47n217/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2005 Digital Design Corporation - * - * 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 - */ - -#ifndef SUPERIO_SMSC_LPC47N217_CHIP_H -#define SUPERIO_SMSC_LPC47N217_CHIP_H - -#include <uart8250.h> - -struct superio_smsc_lpc47n217_config { - -}; - -#endif diff --git a/src/superio/smsc/lpc47n217/superio.c b/src/superio/smsc/lpc47n217/superio.c index 01c96b1065..2658831bcd 100644 --- a/src/superio/smsc/lpc47n217/superio.c +++ b/src/superio/smsc/lpc47n217/superio.c @@ -33,7 +33,6 @@ #include <uart8250.h> #include <assert.h> #include <stdlib.h> -#include "chip.h" #include "lpc47n217.h" /* Forward declarations */ @@ -133,9 +132,6 @@ static void lpc47n217_pnp_enable(device_t dev) */ static void lpc47n217_init(device_t dev) { - /* TODO: Reserved for future. */ - /* struct superio_smsc_lpc47n217_config* conf = dev->chip_info; */ - if (!dev->enabled) return; } diff --git a/src/superio/via/vt1211/chip.h b/src/superio/via/vt1211/chip.h deleted file mode 100644 index 89d64cda20..0000000000 --- a/src/superio/via/vt1211/chip.h +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2004 Nick Barker <nick.barker9@btinternet.com> - * - * 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 - */ - -#ifndef SUPERIO_VIA_VT1211_CHIP_H -#define SUPERIO_VIA_VT1211_CHIP_H - -#include <uart8250.h> - -struct superio_via_vt1211_config { - -}; - -#endif diff --git a/src/superio/via/vt1211/vt1211.c b/src/superio/via/vt1211/vt1211.c index e681d6eb9c..abcae77290 100644 --- a/src/superio/via/vt1211/vt1211.c +++ b/src/superio/via/vt1211/vt1211.c @@ -26,7 +26,6 @@ #include <uart8250.h> #include <stdlib.h> #include "vt1211.h" -#include "chip.h" static u8 hwm_io_regs[] = { 0x10,0x03, 0x11,0x10, 0x12,0x0d, 0x13,0x7f, |