From: Hans-Christian Egtvedt Date: Tue, 30 Oct 2007 13:56:20 +0000 (+0100) Subject: [WATCHDOG] at32ap700x_wdt: add support for boot status and add fix for silicon errata X-Git-Tag: v2.6.24-rc6~63^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bb133450ee95746a9387f12de8bd738e79c21433;p=pandora-kernel.git [WATCHDOG] at32ap700x_wdt: add support for boot status and add fix for silicon errata This patch enables the watchdog to read out the reset cause after a boot and provide this to the user. The driver will now also return -EIO if probed when booting from a watchdog reset. This is due to a silicon errata in the AT32AP700x devices. Detailed description and work-arounds can be found in the errata section of the datasheet avilable from http://www.atmel.com/dyn/products/datasheets.asp?family_id=682 Signed-off-by: Hans-Christian Egtvedt Signed-off-by: Wim Van Sebroeck Signed-off-by: Andrew Morton --- Reading git-diff-tree failed