-
This commit adds support for updating application firmware of RAVE SP devices. It adds two sysfs entries: * update_fw - used to initiate firmware update * update_fw_status - used to keep track of firmware update progress Firmware update process is initiated by two consequitive writes for "update_fw". First write (contents and size is arbitrary) is used to switch RAVE SP device into bootloader mode. Second write (contents is the name of the firmware file to request) will start the actuall programming process. Tested to work on RDU1 and RDU2 device, but should support any board that has RAVE SP MCU. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
c74e4397