FSMC-NAND. Code cleanup and documentation improvements