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/avalue/eax-785e/chip.h | 22 ---------------------- src/mainboard/avalue/eax-785e/mainboard.c | 5 ----- 2 files changed, 27 deletions(-) delete mode 100644 src/mainboard/avalue/eax-785e/chip.h (limited to 'src/mainboard/avalue') diff --git a/src/mainboard/avalue/eax-785e/chip.h b/src/mainboard/avalue/eax-785e/chip.h deleted file mode 100644 index 595758983f..0000000000 --- a/src/mainboard/avalue/eax-785e/chip.h +++ /dev/null @@ -1,22 +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 - */ - -extern struct chip_operations mainboard_ops; - -struct mainboard_config {}; diff --git a/src/mainboard/avalue/eax-785e/mainboard.c b/src/mainboard/avalue/eax-785e/mainboard.c index 0aa20e1aff..5e50efa360 100644 --- a/src/mainboard/avalue/eax-785e/mainboard.c +++ b/src/mainboard/avalue/eax-785e/mainboard.c @@ -26,7 +26,6 @@ #include #include #include "SBPLATFORM.h" -#include "chip.h" u8 is_dev3_present(void); @@ -77,10 +76,6 @@ u8 is_dev3_present(void) *************************************************/ static void eax_785e(device_t dev) { - /* Leave it for furture use. */ - /* struct mainboard_config *mainboard = - (struct mainboard_config *)dev->chip_info; */ - printk(BIOS_INFO, "Mainboard " CONFIG_MAINBOARD_PART_NUMBER " Enable.\n"); setup_uma_memory(); -- cgit v1.2.3