Sub device inherits parent device erase_byte.
Nand flash device is with erase_byte = 0xFF, but in bio_publish_subdevice,
the sub device erase_byte will be with initial value 0.
When the image with the chunk of 0, the chunk is not written, but the
read value is 0xFF.
Sub device inherits parent device erase_byte. Nand flash device is with erase_byte = 0xFF, but in bio_publish_subdevice, the sub device erase_byte will be with initial value 0. When the image with the chunk of 0, the chunk is not written, but the read value is 0xFF.
Signed-off-by: Pibben pibben.tung@mediatek.com