diff options
author | Pali Rohár <pali@kernel.org> | 2022-02-13 01:04:33 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2022-02-17 14:17:07 +0100 |
commit | a2389213f2877967d2108dee61b86327048d0e18 (patch) | |
tree | fff0eb0ee28bf157b72ac40ca1a77f29445926d7 /net/rarp.c | |
parent | 2a9059aef5e07baadf6a003c884bdb6056728783 (diff) |
tools: kwbimage: Fix dumping DATA registers for v0 images
End of DATA register section is indicated by zero value in both raddr and
rdata.
So do not stop dumping registers with non-zero address and zero value.
And also print end of DATA registers section.
Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1' option")
Signed-off-by: Pali Rohár <pali@kernel.org>
Reported-by: Tony Dinh <mibodhi@gmail.com>
Tested-by: Tony Dinh <mibodhi@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Diffstat (limited to 'net/rarp.c')
0 files changed, 0 insertions, 0 deletions