mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.58,1.59

Clive Davies cdavies at altera.com
Tue Oct 15 10:32:35 EDT 2002


On Tuesday 15 October 2002 3:12 pm, David Woodhouse wrote:
> cdavies at infradead.org said:
> +	mtd->read_user_prot_reg = cfi_amdstd_secsi_read;
> +	mtd->read_fact_prot_reg = cfi_amdstd_secsi_read;
>
> Can't we make this conditional on the flash type, and refrain from checking
> it at runtime?

Do you mean check the mfr & id here and only assign these if the chip has a 
secsi area? 




More information about the linux-mtd mailing list