]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - drivers/mtd/cfi_flash.c
drivers/mtd: Move conditional compilation to Makefile
[people/ms/u-boot.git] / drivers / mtd / cfi_flash.c
index 479075ccb19942d406ffa9bea3100c2bf55a711b..402d835bf98f14d9db3f7ebb70d414f38722959b 100644 (file)
@@ -39,7 +39,6 @@
 #include <asm/io.h>
 #include <asm/byteorder.h>
 #include <environment.h>
-#ifdef CFG_FLASH_CFI_DRIVER
 
 /*
  * This file implements a Common Flash Interface (CFI) driver for
@@ -2015,5 +2014,3 @@ unsigned long flash_init (void)
 #endif
        return (size);
 }
-
-#endif /* CFG_FLASH_CFI */