aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/asus/m4a785-m
diff options
context:
space:
mode:
authorJuhana Helovuo <juhe@iki.fi>2010-12-06 01:11:12 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2010-12-06 01:11:12 +0000
commita8c8490c114f97462a3060ce77777ea546d0bbc4 (patch)
treedd9f6e34354bc1646a42152f520af1fff0f18653 /src/mainboard/asus/m4a785-m
parent3a4ed157dcd93f845b92fcea272368bdc41d7a11 (diff)
Add initial support for the ASUS M4A78-EM.
Signed-off-by: Juhana Helovuo <juhe@iki.fi> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6141 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/asus/m4a785-m')
-rw-r--r--src/mainboard/asus/m4a785-m/irq_tables.c4
-rw-r--r--src/mainboard/asus/m4a785-m/mainboard.c8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/asus/m4a785-m/irq_tables.c b/src/mainboard/asus/m4a785-m/irq_tables.c
index 0ad1963e49..4edeec11b4 100644
--- a/src/mainboard/asus/m4a785-m/irq_tables.c
+++ b/src/mainboard/asus/m4a785-m/irq_tables.c
@@ -1,7 +1,7 @@
/*
* This file is part of the coreboot project.
*
- * Copyright (C) 200x TODO <TODO@TODO>
+ * Copyright (C) 2010 Juhana Helovuo <juhe@iki.fi>
*
* 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
@@ -23,7 +23,7 @@
const struct irq_routing_table intel_irq_routing_table = {
PIRQ_SIGNATURE, /* u32 signature */
PIRQ_VERSION, /* u16 version */
- 32 + 16 * 19, /* Max. number of devices on the bus */
+ 32 + 16 * CONFIG_IRQ_SLOT_COUNT, /* Max. number of devices on the bus */
0x00, /* Interrupt router bus */
(0x14 << 3) | 0x3, /* Interrupt router dev */
0, /* IRQs devoted exclusively to PCI usage */
diff --git a/src/mainboard/asus/m4a785-m/mainboard.c b/src/mainboard/asus/m4a785-m/mainboard.c
index 6c7a0dc1d3..a5a15e84d9 100644
--- a/src/mainboard/asus/m4a785-m/mainboard.c
+++ b/src/mainboard/asus/m4a785-m/mainboard.c
@@ -132,7 +132,7 @@ static void get_ide_dma66(void)
/*
* justify the dev3 is exist or not
* NOTE: This just copied from AMD Tilapia code.
- * It is completly unknown it it will work at all for Asus M4A785-A
+ * It is completly unknown it it will work at all for ASUS M4A785-M.
*/
u8 is_dev3_present(void)
{
@@ -224,12 +224,12 @@ static void set_thermal_config(void)
}
/*************************************************
-* enable the dedicated function in m4a785m board.
+* enable the dedicated function in this board.
* This function called early than rs780_enable.
*************************************************/
static void m4a785m_enable(device_t dev)
{
- printk(BIOS_INFO, "Mainboard M4A785M Enable. dev=0x%p\n", dev);
+ printk(BIOS_INFO, "Mainboard enable. dev=0x%p\n", dev);
#if (CONFIG_GFXUMA == 1)
msr_t msr, msr2;
@@ -276,6 +276,6 @@ static void m4a785m_enable(device_t dev)
}
struct chip_operations mainboard_ops = {
- CHIP_NAME("AMD M4A785M Mainboard")
+ CHIP_NAME("ASUS M4A785-M Mainboard")
.enable_dev = m4a785m_enable,
};