X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=include%2Fflash.h;h=8b8979e2f793d397bf0bc66765aaa0f3a3969a8c;hb=8d949aff38cfb4388cbd73876e77bcd06d601f20;hp=02c6a043144dd70c57682aa054a12fb7096077dc;hpb=0ab5410a40930ed235a83161cd7e5a98c963ca91;p=oweals%2Fu-boot.git diff --git a/include/flash.h b/include/flash.h index 02c6a04314..8b8979e2f7 100644 --- a/include/flash.h +++ b/include/flash.h @@ -124,6 +124,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():