Create mem.c

GPMC Initialization [NOR, NAND]