Add command for handling DDR ECC registers on MPC8349EE MDS board.
[oweals/u-boot.git] / common / docecc.c
index cf45e0f6d97316fde5d743c7548058d57b36a18e..79adb48958e8a13affa8497582cf1968874541c5 100644 (file)
 #include <common.h>
 #include <malloc.h>
 
-#include <linux/mtd/doc2000.h>
-
 #undef ECC_DEBUG
 #undef PSYCHO_DEBUG
 
 #if (CONFIG_COMMANDS & CFG_CMD_DOC)
 
+#include <linux/mtd/doc2000.h>
+
 /* need to undef it (from asm/termbits.h) */
 #undef B0