Skip to content
Commit 0a5e2fa5 authored by Michael Walle's avatar Michael Walle Committed by David Oberhollenzer
Browse files

mtd-utils: add optional offset parameter to flash_otp_dump



There are flashes which have gaps between OTP regions and flashes where
the regions don't start at 0 (for example the Winbond 25Q series, which
has three 256 bytes OTP regions starting at 0x1000, 0x2000 and 0x3000).
At the moment it is impossible to dump the OTP memory. Fix it by passing
an optional offset parameter.

Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Signed-off-by: default avatarDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
parent 1312aedb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment