added dram and nand reg initializations