From 0a40d4f36d22e73888eccf8993cf5e96825e08f2 Mon Sep 17 00:00:00 2001 From: Astro Date: Fri, 13 Nov 2020 00:23:38 +0100 Subject: [PATCH] libboard_zynq: fix zc706 build --- libboard_zynq/src/ddr/mod.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libboard_zynq/src/ddr/mod.rs b/libboard_zynq/src/ddr/mod.rs index 1ba87c4..769196c 100644 --- a/libboard_zynq/src/ddr/mod.rs +++ b/libboard_zynq/src/ddr/mod.rs @@ -2,6 +2,8 @@ use libregister::{RegisterR, RegisterW, RegisterRW}; use log::{debug, info, error}; use crate::{print, println}; use super::slcr; +#[cfg(feature = "target_zc706")] +use super::slcr::DdriobVrefSel; use super::clocks::{Clocks, source::{DdrPll, ClockSource}}; mod regs;