aboutsummaryrefslogtreecommitdiff
path: root/board/pcippc2
diff options
context:
space:
mode:
authorWolfgang Denk2009-07-19 19:37:24 +0200
committerWolfgang Denk2009-07-19 19:37:24 +0200
commit7640f41988a456a0b1f05263d2e2dc5cd7d93984 (patch)
tree3a229c26b6008f54282b1d0b3671890923940c8b /board/pcippc2
parent1a4664b53aaf23687b52d64b94be06a9aa260b86 (diff)
Fix boards broken after removal of legacy NAND and DoC support
Commit 2419169f removed support for legacy NAND and disk on chip but missed to update the code for a few boards. This patch fixes the resulting build issues. Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'board/pcippc2')
-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 7985f7d711b..6ee44d691d9 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)
{