]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/dataflash.c
dataflash: Move CONFIG_HAS_DATAFLASH to Makefile
[people/ms/u-boot.git] / drivers / mtd / dataflash.c
index 85cbc5f783febdb2d4a5c3d9c6313018ced39c2d..d8f78f20a8a192df41d3ab3b7eb3592f6bff3bfa 100644 (file)
@@ -19,7 +19,6 @@
  */
 #include <common.h>
 #include <config.h>
-#ifdef CONFIG_HAS_DATAFLASH
 #include <asm/hardware.h>
 #include <dataflash.h>
 
@@ -475,5 +474,3 @@ void dataflash_perror (int err)
                break;
        }
 }
-
-#endif