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
This commit is contained in:
parent
c0a689cc1f
commit
451762dabc
|
@ -8,7 +8,7 @@
|
||||||
#include <cpu/x86/msr.h>
|
#include <cpu/x86/msr.h>
|
||||||
#include "chip.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 ADM1026_REG_CONFIG1 0x00
|
||||||
#define CFG1_MONITOR 0x01
|
#define CFG1_MONITOR 0x01
|
||||||
#define CFG1_INT_ENABLE 0x02
|
#define CFG1_INT_ENABLE 0x02
|
||||||
|
@ -21,6 +21,8 @@
|
||||||
#define ADM1026_REG_CONFIG2 0x01
|
#define ADM1026_REG_CONFIG2 0x01
|
||||||
#define ADM1026_REG_CONFIG3 0x07
|
#define ADM1026_REG_CONFIG3 0x07
|
||||||
|
|
||||||
|
static void adm1026_enable_monitoring(device_t dev);
|
||||||
|
|
||||||
static void adm1026_init(device_t dev)
|
static void adm1026_init(device_t dev)
|
||||||
{
|
{
|
||||||
if (dev->enabled && dev->path.type == DEVICE_PATH_I2C)
|
if (dev->enabled && dev->path.type == DEVICE_PATH_I2C)
|
||||||
|
|
Loading…
Reference in New Issue