summaryrefslogtreecommitdiff
path: root/post/board/lwmon5
diff options
context:
space:
mode:
authorSascha Laue <Sascha.Laue@gmx.biz>2008-04-30 15:23:38 +0200
committerWolfgang Denk <wd@denx.de>2008-04-30 22:25:15 +0200
commit58b575e575c25fdf8c88141e145db201f3092149 (patch)
treebb93169ca83b61d12d24f4c637e67bcb9c559ea9 /post/board/lwmon5
parente7419b243a373de4ee042f7d4f45f66de787240d (diff)
downloadu-boot-imx-58b575e575c25fdf8c88141e145db201f3092149.zip
u-boot-imx-58b575e575c25fdf8c88141e145db201f3092149.tar.gz
u-boot-imx-58b575e575c25fdf8c88141e145db201f3092149.tar.bz2
lwmon5: fix offset error in sysmon0 POST
Signed-off-by: Sascha Laue <sascha.laue@liebherr.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'post/board/lwmon5')
-rw-r--r--post/board/lwmon5/sysmon.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/post/board/lwmon5/sysmon.c b/post/board/lwmon5/sysmon.c
index 23cb709..e9c9624 100644
--- a/post/board/lwmon5/sysmon.c
+++ b/post/board/lwmon5/sysmon.c
@@ -133,16 +133,16 @@ static sysmon_table_t sysmon_table[] =
{
"+ 5 V", "V", &sysmon_dspic, NULL, NULL,
100, 1000, -0x8000, 0x7FFF, 0xFFFF,
- VOLTAGE_5V_MIN, VOLTAGE_5V_MAX, 0,
- VOLTAGE_5V_MIN, VOLTAGE_5V_MAX, 0,
+ 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, -0x8000, 0x7FFF, 0xFFFF,
- VOLTAGE_5V_STANDBY_MIN, VOLTAGE_5V_STANDBY_MAX, 0,
- VOLTAGE_5V_STANDBY_MIN, VOLTAGE_5V_STANDBY_MAX, 0,
+ 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,
},
};