summaryrefslogtreecommitdiff
path: root/post/board/lwmon5
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2008-04-30 23:04:51 +0200
committerWolfgang Denk <wd@denx.de>2008-04-30 23:04:51 +0200
commitfed4de0135fdc13565704669cdf80902bbfe3c42 (patch)
treeb8fc14a0c94687ac766eba56cb8ec445dfad0668 /post/board/lwmon5
parent42ffcec3f9eba010a662d5b42981812b6bebfb9a (diff)
parent12bc4e94251c369c529ffa505cf58b148c372f7f (diff)
downloadu-boot-imx-fed4de0135fdc13565704669cdf80902bbfe3c42.zip
u-boot-imx-fed4de0135fdc13565704669cdf80902bbfe3c42.tar.gz
u-boot-imx-fed4de0135fdc13565704669cdf80902bbfe3c42.tar.bz2
Merge branch 'master' of git+ssh://10.10.0.7/home/wd/git/u-boot/master
Diffstat (limited to 'post/board/lwmon5')
-rw-r--r--post/board/lwmon5/sysmon.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/post/board/lwmon5/sysmon.c b/post/board/lwmon5/sysmon.c
index 793f670..e9c9624 100644
--- a/post/board/lwmon5/sysmon.c
+++ b/post/board/lwmon5/sysmon.c
@@ -132,17 +132,17 @@ static sysmon_table_t sysmon_table[] =
{
"+ 5 V", "V", &sysmon_dspic, NULL, NULL,
- 100, 1000, 0, 0xFFFF, 0xFFFF,
- VOLTAGE_5V_MIN, VOLTAGE_5V_MAX, 0,
- VOLTAGE_5V_MIN, VOLTAGE_5V_MAX, 0,
+ 100, 1000, -0x8000, 0x7FFF, 0xFFFF,
+ 0x8000 + VOLTAGE_5V_MIN, 0x8000 + VOLTAGE_5V_MAX, 0,
+ 0x8000 + VOLTAGE_5V_MIN, 0x8000 + VOLTAGE_5V_MAX, 0,
REG_VOLTAGE_5V,
},
{
"+ 5 V standby", "V", &sysmon_dspic, NULL, NULL,
- 100, 1000, 0, 0xFFFF, 0xFFFF,
- VOLTAGE_5V_STANDBY_MIN, VOLTAGE_5V_STANDBY_MAX, 0,
- VOLTAGE_5V_STANDBY_MIN, VOLTAGE_5V_STANDBY_MAX, 0,
+ 100, 1000, -0x8000, 0x7FFF, 0xFFFF,
+ 0x8000 + VOLTAGE_5V_STANDBY_MIN, 0x8000 + VOLTAGE_5V_STANDBY_MAX, 0,
+ 0x8000 + VOLTAGE_5V_STANDBY_MIN, 0x8000 + VOLTAGE_5V_STANDBY_MAX, 0,
REG_VOLTAGE_5V_STANDBY,
},
};