blob: 387fcac192efbbd65e74e4eee114ccd81554c606 [file] [log] [blame] [edit]
Two related changes:
1. Updates nandwrite to not attempt to write past the partition boundary when the last block is bad
2. Adds an option to nanddump to skip empty pages
This prevents a nanddump piped to nandwrite failing because the last block in a parition is bad, even when the tail of the data coming out is empty.