Move DRAM initialization to init_dram()