summaryrefslogtreecommitdiff
path: root/src/drivers
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2007-07-12 20:07:54 +0000
committerStefan Reinauer <stepan@openbios.org>2007-07-12 20:07:54 +0000
commitbd5533c2485e342f1a8cfcbe7c413e5291ee8379 (patch)
treefbc6ce0211e30f25300989ef352d2bb3f719611f /src/drivers
parent54d383746f26299f40025508f4d25e4fc62d3b3a (diff)
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
Diffstat (limited to 'src/drivers')
-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 f1d61b403..986910082 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)