/* For Standby Exit, or any other mode in which the DRAM is in SR, this bit must be set to 0.  */
void perform_ddr_reset(struct mrc_params *mrc_params)
/* For Standby Exit, or any other mode in which the DRAM is in SR, this bit must be set to 0.  */
void perform_ddr_reset(struct mrc_params *mrc_params)
{
	ENTERFN();
	mrc_write_mask(MEM_CTLR, DRMC, DRMC_COLDWAKE, DRMC_COLDWAKE);
	dram_wake_command();
	msg_port_write(MEM_CTLR, DRMC,
		       mrc_params->rd_odt_value == 0 ? DRMC_ODTMODE : 0);
	LEAVEFN();
}