summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2007-07-12 20:07:54 +0000
committerStefan Reinauer <stepan@openbios.org>2007-07-12 20:07:54 +0000
commit451762dabc6cdb8d5e1c40aa0184a673979f5572 (patch)
treefbc6ce0211e30f25300989ef352d2bb3f719611f
parentc0a689cc1fe004342f3fa8ad4bb71f432380f8e3 (diff)
downloadcoreboot-451762dabc6cdb8d5e1c40aa0184a673979f5572.tar.xz
Fix Agami Aruma target (the only one using the part)
Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2739 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--src/drivers/i2c/adm1026/adm1026.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/drivers/i2c/adm1026/adm1026.c b/src/drivers/i2c/adm1026/adm1026.c
index f1d61b4039..9869100823 100644
--- a/src/drivers/i2c/adm1026/adm1026.c
+++ b/src/drivers/i2c/adm1026/adm1026.c
@@ -8,7 +8,7 @@
#include <cpu/x86/msr.h>
#include "chip.h"
-#define ADM1026_DEVICE 0x2c /* 0x2e or 0x2d */
+#define ADM1026_DEVICE 0x2d /* Either 0x2c or 0x2d or 0x2e */
#define ADM1026_REG_CONFIG1 0x00
#define CFG1_MONITOR 0x01
#define CFG1_INT_ENABLE 0x02
@@ -21,6 +21,8 @@
#define ADM1026_REG_CONFIG2 0x01
#define ADM1026_REG_CONFIG3 0x07
+static void adm1026_enable_monitoring(device_t dev);
+
static void adm1026_init(device_t dev)
{
if (dev->enabled && dev->path.type == DEVICE_PATH_I2C)