summaryrefslogtreecommitdiff
path: root/board/pcippc2/pcippc2.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pcippc2/pcippc2.c')
-rw-r--r--board/pcippc2/pcippc2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/pcippc2/pcippc2.c b/board/pcippc2/pcippc2.c
index 7985f7d..6ee44d6 100644
--- a/board/pcippc2/pcippc2.c
+++ b/board/pcippc2/pcippc2.c
@@ -147,10 +147,12 @@ void pci_init_board (void)
cpc710_pci_enable_timeout ();
}
+#ifdef CONFIG_CMD_DOC
void doc_init (void)
{
doc_probe (pcippc2_fpga1_phys + HW_FPGA1_DOC);
}
+#endif
void pcippc2_cpci3264_init (void)
{