summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/dbm690t
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/dbm690t
parentd58671c4bfc0376e288cb0f2936bd43d8cfbb48e (diff)
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/dbm690t')
-rw-r--r--src/mainboard/amd/dbm690t/chip.h4
-rw-r--r--src/mainboard/amd/dbm690t/mainboard.c6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/mainboard/amd/dbm690t/chip.h b/src/mainboard/amd/dbm690t/chip.h
index 786bc9f4e8..bda7abcf29 100644
--- a/src/mainboard/amd/dbm690t/chip.h
+++ b/src/mainboard/amd/dbm690t/chip.h
@@ -17,9 +17,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-extern struct chip_operations mainboard_amd_dbm690t_ops;
+extern struct chip_operations mainboard_ops;
-struct mainboard_amd_dbm690t_config
+struct mainboard_config
{
u32 uma_size; /* How many UMA should be used in memory for TOP. */
};
diff --git a/src/mainboard/amd/dbm690t/mainboard.c b/src/mainboard/amd/dbm690t/mainboard.c
index d5c7f375c1..ce206b951e 100644
--- a/src/mainboard/amd/dbm690t/mainboard.c
+++ b/src/mainboard/amd/dbm690t/mainboard.c
@@ -199,8 +199,8 @@ static void set_thermal_config()
*************************************************/
void dbm690t_enable(device_t dev)
{
- struct mainboard_amd_dbm690t_config *mainboard =
- (struct mainboard_amd_dbm690t_config *)dev->chip_info;
+ struct mainboard_config *mainboard =
+ (struct mainboard_config *)dev->chip_info;
printk_info("Mainboard DBM690T Enable. dev=0x%x\n", dev);
@@ -266,7 +266,7 @@ int add_mainboard_resources(struct lb_memory *mem)
/*
* CONFIG_CHIP_NAME defined in Option.lb.
*/
-struct chip_operations mainboard_amd_dbm690t_ops = {
+struct chip_operations mainboard_ops = {
CHIP_NAME("AMD DBM690T Mainboard")
.enable_dev = dbm690t_enable,
};