Starting from revision F we can toggle a GPIO to control nWP of
the NAND chip. This means that during power-on or other mode of
operation no changes can be done to the flash.
Remove the nWP before we try to write to the flash in the UART
mode. Leave it enabled for further operations.