diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-10-21 11:01:12 +0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-10-21 11:01:12 +0400 |
commit | b5c5353d417580f7a6ac21a0954f1c500a5cc4f5 (patch) | |
tree | 15b485147d6b59f43ead7410bf8fc1ae0ec43d5f /arch/arm/mach-omap2/sleep34xx.S | |
parent | 21325b25f4d81c5fcffd55afb6c81cc873ee8b0a (diff) | |
download | linux-b5c5353d417580f7a6ac21a0954f1c500a5cc4f5.tar.xz |
ARM: OMAP1: create read_reset_sources() function (for initial use by watchdog)
On OMAP1, the existing OMAP watchdog driver reads a register directly
from a non-watchdog IP block. It also does not convert the register's
contents into the standard WDIOF_* bits expected from the
GETBOOTSTATUS ioctl().
To move towards fixing these problems, create an function in
arch/arm/mach-omap1 to return the reset source data. A subsequent
patch will provide this function to the watchdog driver via
platform_data.
In the long term, the best approach would be to move this function
to a new OMAP1 driver that handles access to the OMAP1 Clock
Generation and Reset Management IP block. Then no platform_data would
be needed.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch/arm/mach-omap2/sleep34xx.S')
0 files changed, 0 insertions, 0 deletions