]> git.ipfire.org Git - thirdparty/linux.git/commit
watchdog: ziirave_wdt: Add support to upload the firmware.
authorEnric Balletbo i Serra <enric.balletbo@collabora.com>
Wed, 10 Aug 2016 16:18:03 +0000 (18:18 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Fri, 23 Sep 2016 20:34:24 +0000 (22:34 +0200)
commit217209db0204ae1fa5f30af804525863e852c35d
tree69e723c487355ced37f3a50427204fbe89e914ec
parent9d6b4efc16b3e8e7414fcd6aab8fec42756ba920
watchdog: ziirave_wdt: Add support to upload the firmware.

This patch adds and entry to the sysfs to start firmware upload process
on the specified device with the requested firmware.

The uploading of the firmware needs only to happen once per firmware
upgrade, as the firmware is stored in persistent storage. If the
firmware upload or the firmware verification fails then we print and
error message and exit.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/ziirave_wdt.c