FSMC-NAND. Code cleanup