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-13 14:01:14 +0100 |
commit | c808c55b398c267b098818cde85ab0c11be30473 (patch) | |
tree | 87492fff155feb90b310e8f9b1617893a146d670 /package | |
parent | 29f73a79689bc872132f4202724d3139a7b449f9 (diff) | |
download | upstream-c808c55b398c267b098818cde85ab0c11be30473.tar.gz upstream-c808c55b398c267b098818cde85ab0c11be30473.tar.bz2 upstream-c808c55b398c267b098818cde85ab0c11be30473.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>
(cherry picked from commit 80041dea7094f46f9ef5402964c95b0a5dcd5f28)
Diffstat (limited to 'package')
0 files changed, 0 insertions, 0 deletions