aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
authorPali Rohár2022-08-11 22:27:21 +0200
committerTom Rini2022-08-20 16:17:50 -0400
commit7c4ad9821758f98db127e9d6864671c906c02d3b (patch)
tree4ee4682916311c78c1eda7f12cc0a882d7a40854 /api
parent012d4be439a888b96681ed2443aeac398adca15d (diff)
Nokia RX-51: Fix invalidating zImage kernel format
Prior starting copy of kernel image to target location, invalidate also zImage magic header. This ensures that on target location would be image with valid header only in the case valid header was also in the source location and copy from source to target finished successfully. Copy is always skipped when kernel image in source location is invalid. Add also comment to the code which explain what is the code doing. Fixes: cc434fccba4c ("Nokia RX-51: Add support for booting kernel in zImage format") Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'api')
0 files changed, 0 insertions, 0 deletions