]> git.baikalelectronics.ru Git - kernel.git/commit
[WATCHDOG] i6300esb: fix unlock register with
authorWim Van Sebroeck <wim@iguana.be>
Mon, 8 Mar 2010 11:02:38 +0000 (11:02 +0000)
committerWim Van Sebroeck <wim@iguana.be>
Mon, 8 Mar 2010 11:02:38 +0000 (11:02 +0000)
commit189289f49641b89c77e282e5ca568a850d031e49
treefd122f0f7fa47662e5b99c06f5c84ee851abef7a
parent880a6cb5901e5088f570f0512966e2efe1e75eed
[WATCHDOG] i6300esb: fix unlock register with

Before you can read or write from the i6300esb memeory mapped registers,
you need to unlock these. This is done by writing the magic numbers 0x80
and 0x86 to the reload register. The size of the reload register is 32bit
though.

Also binary 11 is hex 0x03 and not 0x11.

Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/i6300esb.c