diff options
author | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 11:38:58 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2012-10-10 11:38:58 +0000 |
commit | 6bb7409e5a85da6ae3323ec179311a99d0de79e5 (patch) | |
tree | edb4cf3e11e3af7964098ca779d6ed1120476954 /tools/patch-cmdline | |
parent | c6d2712db35b3bf24a5ecb02a8b6f650c0e3486d (diff) | |
download | upstream-6bb7409e5a85da6ae3323ec179311a99d0de79e5.tar.gz upstream-6bb7409e5a85da6ae3323ec179311a99d0de79e5.tar.bz2 upstream-6bb7409e5a85da6ae3323ec179311a99d0de79e5.zip |
cns3xxx: Fix laguna arm11mpcore watchdog
The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too. I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog. Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.
This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 33683
Diffstat (limited to 'tools/patch-cmdline')
0 files changed, 0 insertions, 0 deletions