FSMC-NAND. Added lots of macro improvements