summaryrefslogtreecommitdiff
path: root/board/bmw/bmw.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/bmw/bmw.c')
-rw-r--r--board/bmw/bmw.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/board/bmw/bmw.c b/board/bmw/bmw.c
index 870011e6fc..4039145e43 100644
--- a/board/bmw/bmw.c
+++ b/board/bmw/bmw.c
@@ -117,6 +117,7 @@ sys_led_msg(char* msg)
LED_REG(3) = msg[0];
}
+#ifdef CONFIG_CMD_DOC
/*
* Map onboard TSOP-16MB DOC FLASH chip.
*/
@@ -124,6 +125,7 @@ void doc_init (void)
{
doc_probe(DOC_BASE_ADDR);
}
+#endif
#define NV_ADDR ((volatile unsigned char *) CONFIG_ENV_ADDR)