fusee-primary/sdram: Correct setting of the PMC DDR_PWR register

Previously this was just assigning the value it already contains to
itself, as opposed to whatever the parameters were dictating for it.
This commit is contained in:
Lioncash 2018-08-24 23:30:58 -04:00
parent 43bde3fcc9
commit 5f511262e1

View file

@ -549,7 +549,7 @@ void sdram_init()
pmc->vddp_sel = params->pmc_vddp_sel;
udelay(params->pmc_vddp_sel_wait);
pmc->ddr_pwr = pmc->ddr_pwr;
pmc->ddr_pwr = params->pmc_ddr_pwr;
pmc->no_iopower = params->pmc_no_io_power;
pmc->reg_short = params->pmc_reg_short;
pmc->ddr_cntrl = params->pmc_ddr_ctrl;