diff options
author | Ivan Pang <ipman@amazon.com> | 2025-06-11 05:00:38 +0000 |
---|---|---|
committer | Mattijs Korpershoek <mkorpershoek@kernel.org> | 2025-06-16 08:57:57 +0200 |
commit | aa2efc584a4d3fe0fe88cd600f53464b26bcd848 (patch) | |
tree | 396ba97f8ffbaaff2cb03a48009863c840a453c9 /scripts/dtc/pylibfdt/setup.py | |
parent | c5afa1fef49f55146e78d6157470520391c40eca (diff) |
dfu: fix dev_part_str for file operations
The third_arg for a dfu alt is read as an integer and is overloaded for
different supported backends. For ext4 and fat, this third_arg
represents the partition and forms the dev part string, which should
have its partition in hex. This commit fixes dfu ext4/fat usage for
devices with ten or more partitions.
Signed-off-by: Ivan Pang <ipman@amazon.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Reviewed-by: Lukasz Majewski <lukma@denx.de>
Link: https://lore.kernel.org/r/20250611050127.38011-1-ipman@amazon.com
Signed-off-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Diffstat (limited to 'scripts/dtc/pylibfdt/setup.py')
0 files changed, 0 insertions, 0 deletions