]> git.sur5r.net Git - u-boot/blobdiff - common/flash.c
ARM: socfpga: add fpga build and bsp handoff instructions to readme
[u-boot] / common / flash.c
index 6d492c729f050a0dcd2a1f91d2513411c5c28247..587ef601585ced8c63e1cc29680cb5021c59c813 100644 (file)
@@ -10,7 +10,6 @@
 #include <common.h>
 #include <flash.h>
 
-#if defined(CONFIG_MTD_NOR_FLASH)
 #include <mtd/cfi_flash.h>
 
 extern flash_info_t  flash_info[]; /* info for FLASH chips */
@@ -218,7 +217,3 @@ void flash_perror (int err)
                break;
        }
 }
-
-/*-----------------------------------------------------------------------
- */
-#endif /* !CONFIG_MTD_NOR_FLASH */