summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/pistachio
diff options
context:
space:
mode:
authorCarl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>2009-02-18 20:41:57 +0000
committerMyles Watson <mylesgw@gmail.com>2009-02-18 20:41:57 +0000
commit7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb (patch)
treea6c3814ddd23406c282eb7421d6777f600fd2a9e /src/mainboard/amd/pistachio
parentd58671c4bfc0376e288cb0f2936bd43d8cfbb48e (diff)
downloadcoreboot-7ad11e8d33bf0f377ea882848e7e9e6cdd0243bb.tar.xz
Carl-Daniel's part:
This patch converts mainboard_$VENDOR_$BOARD_ops to mainboard_ops and mainboard_$VENDOR_$BOARD_config to mainboard_config. Ron's part: The config change that makes the naming change not break every build. Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3954 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/amd/pistachio')
-rw-r--r--src/mainboard/amd/pistachio/chip.h4
-rw-r--r--src/mainboard/amd/pistachio/mainboard.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/amd/pistachio/chip.h b/src/mainboard/amd/pistachio/chip.h
index 6cb1b94171..893ff2e88d 100644
--- a/src/mainboard/amd/pistachio/chip.h
+++ b/src/mainboard/amd/pistachio/chip.h
@@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations mainboard_amd_pistachio_ops;
+extern struct chip_operations mainboard_ops;
-struct mainboard_amd_pistachio_config
+struct mainboard_config
{
unsigned long uma_size; /* How many UMA should be used in memory for TOP. */
};
diff --git a/src/mainboard/amd/pistachio/mainboard.c b/src/mainboard/amd/pistachio/mainboard.c
index b72273f4e5..960c74954d 100644
--- a/src/mainboard/amd/pistachio/mainboard.c
+++ b/src/mainboard/amd/pistachio/mainboard.c
@@ -271,8 +271,8 @@ static void set_thermal_config()
*************************************************/
void pistachio_enable(device_t dev)
{
- struct mainboard_amd_pistachio_config *mainboard =
- (struct mainboard_amd_pistachio_config *)dev->chip_info;
+ struct mainboard_config *mainboard =
+ (struct mainboard_config *)dev->chip_info;
printk_info("Mainboard Pistachio Enable. dev=0x%x\n", dev);
@@ -338,7 +338,7 @@ int add_mainboard_resources(struct lb_memory *mem)
/*
* CONFIG_CHIP_NAME defined in Option.lb.
*/
-struct chip_operations mainboard_amd_pistachio_ops = {
+struct chip_operations mainboard_ops = {
CHIP_NAME("AMD Pistachio Mainboard")
.enable_dev = pistachio_enable,
};