summaryrefslogtreecommitdiff
path: root/board/pm520/pm520.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/pm520/pm520.c')
-rw-r--r--board/pm520/pm520.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/pm520/pm520.c b/board/pm520/pm520.c
index 65c529192a6..7c32f5d9546 100644
--- a/board/pm520/pm520.c
+++ b/board/pm520/pm520.c
@@ -314,7 +314,7 @@ void ide_set_reset (int idereset)
}
#endif /* defined (CFG_CMD_IDE) && defined (CONFIG_IDE_RESET) */
-#if (CONFIG_COMMANDS & CFG_CMD_DOC)
+#if (CONFIG_COMMANDS & CFG_CMD_DOC) || defined(CONFIG_CMD_DOC)
extern void doc_probe (ulong physadr);
void doc_init (void)
{