diff options
author | Rafał Miłecki <rafal@milecki.pl> | 2021-11-28 11:54:19 +0100 |
---|---|---|
committer | Rafał Miłecki <rafal@milecki.pl> | 2021-12-02 09:15:18 +0100 |
commit | 80041dea7094f46f9ef5402964c95b0a5dcd5f28 (patch) | |
tree | eef957dca7141f2f3574fe81e0d5606ce07f7f0d /LICENSES/Linux-syscall-note | |
parent | e7bd6cce4c382e33a62c462bf07bafba23b22e1a (diff) | |
download | upstream-80041dea7094f46f9ef5402964c95b0a5dcd5f28.tar.gz upstream-80041dea7094f46f9ef5402964c95b0a5dcd5f28.tar.bz2 upstream-80041dea7094f46f9ef5402964c95b0a5dcd5f28.zip |
bcm53xx: sysupgrade: refactor handling different firmware formats
List of supported formats grew over time and implementation got a bit
messy. There are multiple functions with format-specific parameters and
commands.
Refactor it by making platform_identify() setup all required info right
after detecting firmware format. This simplifies formats handling in
platform_other_check_image() and platform_do_upgrade() a lot.
This has been tested on:
1. SmartRG SR400ac (TRX): non-NAND sysupgrade
2. Netgear R8000 (CHK): NAND aware and standard sysupgrade-s
3. D-Link DIR-885L (Seama): NAND aware and standard sysupgrade-s
4. Luxul XWR-3150 (LXL): NAND aware and standard sysupgrade-s
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Diffstat (limited to 'LICENSES/Linux-syscall-note')
0 files changed, 0 insertions, 0 deletions