forked from M-Labs/zynq-rs
zynq::ddr: don't overwrite slcr.ddr_pll_ctrl
This commit is contained in:
parent
637bb35f43
commit
f199ac68b4
|
@ -42,10 +42,6 @@ impl DdrRam {
|
||||||
let ddr2x_clk_divisor = 3 * ddr3x_clk_divisor / 2;
|
let ddr2x_clk_divisor = 3 * ddr3x_clk_divisor / 2;
|
||||||
|
|
||||||
slcr::RegisterBlock::unlocked(|slcr| {
|
slcr::RegisterBlock::unlocked(|slcr| {
|
||||||
slcr.ddr_pll_ctrl.write(
|
|
||||||
slcr::PllCtrl::zeroed()
|
|
||||||
);
|
|
||||||
|
|
||||||
slcr.ddr_clk_ctrl.write(
|
slcr.ddr_clk_ctrl.write(
|
||||||
slcr::DdrClkCtrl::zeroed()
|
slcr::DdrClkCtrl::zeroed()
|
||||||
.ddr_2xclkact(true)
|
.ddr_2xclkact(true)
|
||||||
|
|
Loading…
Reference in New Issue