]> git.sur5r.net Git - u-boot/blobdiff - include/flash.h
sh3/sh4: fix CONFIG_SYS_HZ to 1000
[u-boot] / include / flash.h
index 02c6a043144dd70c57682aa054a12fb7096077dc..b016162009fa244ab9f1250b8b9309c0976b48a2 100644 (file)
@@ -87,8 +87,6 @@ typedef unsigned long flash_sect_t;
 /* convert between bit value and numeric value */
 #define CFI_FLASH_SHIFT_WIDTH  3
 
-/* cfi-mtd device name */
-#define        CFI_MTD_DEV_NAME        "cfi-mtd"
 /* Prototypes */
 
 extern unsigned long flash_init (void);
@@ -124,6 +122,9 @@ extern int jedec_flash_match(flash_info_t *info, ulong base);
 #define CFI_CMDSET_AMD_LEGACY          0xFFF0
 #endif
 
+#if defined(CONFIG_SYS_FLASH_CFI)
+extern flash_info_t *flash_get_info(ulong base);
+#endif
 
 /*-----------------------------------------------------------------------
  * return codes from flash_write():