From 188e3c2ff06a82f61d7d71e610b32b1a250c0a45 Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Thu, 26 Jul 2012 12:46:48 -0700 Subject: Drop mainboard chip.h mainboard_config never worked right, at least not since we've had sconfig. Hence, drop mainboard///chip.h and fix up the mainboards that tried to use it anyways. Change-Id: I7cd403ea188d8a9fd4c1ad15479fa88e02ab8e83 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/1359 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc Reviewed-by: Ronald G. Minnich --- src/mainboard/via/epia-cn/chip.h | 24 ------------------------ src/mainboard/via/epia-cn/mainboard.c | 1 - src/mainboard/via/epia-m/chip.h | 3 --- src/mainboard/via/epia-m/mainboard.c | 1 - src/mainboard/via/epia-m700/chip.h | 23 ----------------------- src/mainboard/via/epia-m700/mainboard.c | 1 - src/mainboard/via/epia-n/chip.h | 24 ------------------------ src/mainboard/via/epia-n/mainboard.c | 1 - src/mainboard/via/epia/chip.h | 3 --- src/mainboard/via/epia/mainboard.c | 1 - src/mainboard/via/pc2500e/chip.h | 23 ----------------------- src/mainboard/via/pc2500e/mainboard.c | 1 - src/mainboard/via/vt8454c/chip.h | 22 ---------------------- src/mainboard/via/vt8454c/mainboard.c | 1 - 14 files changed, 129 deletions(-) delete mode 100644 src/mainboard/via/epia-cn/chip.h delete mode 100644 src/mainboard/via/epia-m/chip.h delete mode 100644 src/mainboard/via/epia-m700/chip.h delete mode 100644 src/mainboard/via/epia-n/chip.h delete mode 100644 src/mainboard/via/epia/chip.h delete mode 100644 src/mainboard/via/pc2500e/chip.h delete mode 100644 src/mainboard/via/vt8454c/chip.h (limited to 'src/mainboard/via') diff --git a/src/mainboard/via/epia-cn/chip.h b/src/mainboard/via/epia-cn/chip.h deleted file mode 100644 index 0a2badb865..0000000000 --- a/src/mainboard/via/epia-cn/chip.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008 VIA Technologies, Inc. - * (Written by Aaron Lwe for VIA) - * - * 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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/epia-cn/mainboard.c b/src/mainboard/via/epia-cn/mainboard.c index 1a7210eefa..702b5b053f 100644 --- a/src/mainboard/via/epia-cn/mainboard.c +++ b/src/mainboard/via/epia-cn/mainboard.c @@ -20,7 +20,6 @@ */ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA EPIA-CN Mainboard") diff --git a/src/mainboard/via/epia-m/chip.h b/src/mainboard/via/epia-m/chip.h deleted file mode 100644 index d138e51b94..0000000000 --- a/src/mainboard/via/epia-m/chip.h +++ /dev/null @@ -1,3 +0,0 @@ -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/epia-m/mainboard.c b/src/mainboard/via/epia-m/mainboard.c index 2e517a36b7..49f18df832 100644 --- a/src/mainboard/via/epia-m/mainboard.c +++ b/src/mainboard/via/epia-m/mainboard.c @@ -1,5 +1,4 @@ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA EPIA-M Mainboard") diff --git a/src/mainboard/via/epia-m700/chip.h b/src/mainboard/via/epia-m700/chip.h deleted file mode 100644 index c44330b344..0000000000 --- a/src/mainboard/via/epia-m700/chip.h +++ /dev/null @@ -1,23 +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; 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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/epia-m700/mainboard.c b/src/mainboard/via/epia-m700/mainboard.c index 5a21b86a84..53537e08ec 100644 --- a/src/mainboard/via/epia-m700/mainboard.c +++ b/src/mainboard/via/epia-m700/mainboard.c @@ -19,7 +19,6 @@ */ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA EPIA-M700 Mainboard") diff --git a/src/mainboard/via/epia-n/chip.h b/src/mainboard/via/epia-n/chip.h deleted file mode 100644 index 0a2badb865..0000000000 --- a/src/mainboard/via/epia-n/chip.h +++ /dev/null @@ -1,24 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008 VIA Technologies, Inc. - * (Written by Aaron Lwe for VIA) - * - * 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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/epia-n/mainboard.c b/src/mainboard/via/epia-n/mainboard.c index cf5ae968a9..0dfbd3c969 100644 --- a/src/mainboard/via/epia-n/mainboard.c +++ b/src/mainboard/via/epia-n/mainboard.c @@ -26,7 +26,6 @@ #include #include #include -#include "chip.h" int add_mainboard_resources(struct lb_memory *mem) { diff --git a/src/mainboard/via/epia/chip.h b/src/mainboard/via/epia/chip.h deleted file mode 100644 index d138e51b94..0000000000 --- a/src/mainboard/via/epia/chip.h +++ /dev/null @@ -1,3 +0,0 @@ -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/epia/mainboard.c b/src/mainboard/via/epia/mainboard.c index 25d72a51d9..95edf4655e 100644 --- a/src/mainboard/via/epia/mainboard.c +++ b/src/mainboard/via/epia/mainboard.c @@ -1,5 +1,4 @@ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA EPIA Mainboard") diff --git a/src/mainboard/via/pc2500e/chip.h b/src/mainboard/via/pc2500e/chip.h deleted file mode 100644 index 41784c9660..0000000000 --- a/src/mainboard/via/pc2500e/chip.h +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file is part of the coreboot project. - * - * Copyright (C) 2008 Uwe Hermann - * - * 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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/pc2500e/mainboard.c b/src/mainboard/via/pc2500e/mainboard.c index 9fcee5588e..65aed5664e 100644 --- a/src/mainboard/via/pc2500e/mainboard.c +++ b/src/mainboard/via/pc2500e/mainboard.c @@ -19,7 +19,6 @@ */ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA pc2500e Mainboard") diff --git a/src/mainboard/via/vt8454c/chip.h b/src/mainboard/via/vt8454c/chip.h deleted file mode 100644 index 5101c16c4d..0000000000 --- a/src/mainboard/via/vt8454c/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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/via/vt8454c/mainboard.c b/src/mainboard/via/vt8454c/mainboard.c index e931ccdafb..c6e1b92e9f 100644 --- a/src/mainboard/via/vt8454c/mainboard.c +++ b/src/mainboard/via/vt8454c/mainboard.c @@ -20,7 +20,6 @@ */ #include -#include "chip.h" struct chip_operations mainboard_ops = { CHIP_NAME("VIA VT8454c Mainboard") -- cgit v1.2.3