* Re: mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.58,1.59 [not found] <E181S0Q-0006XW-00@phoenix.infradead.org> @ 2002-10-15 14:12 ` David Woodhouse 2002-10-15 14:32 ` Clive Davies 0 siblings, 1 reply; 2+ messages in thread From: David Woodhouse @ 2002-10-15 14:12 UTC (permalink / raw) To: cdavies; +Cc: linux-mtd cdavies@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? -- dwmw2 ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.58,1.59 2002-10-15 14:12 ` mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.58,1.59 David Woodhouse @ 2002-10-15 14:32 ` Clive Davies 0 siblings, 0 replies; 2+ messages in thread From: Clive Davies @ 2002-10-15 14:32 UTC (permalink / raw) To: David Woodhouse, cdavies; +Cc: linux-mtd On Tuesday 15 October 2002 3:12 pm, David Woodhouse wrote: > cdavies@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? ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-10-15 14:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E181S0Q-0006XW-00@phoenix.infradead.org>
2002-10-15 14:12 ` mtd/drivers/mtd/chips cfi_cmdset_0002.c,1.58,1.59 David Woodhouse
2002-10-15 14:32 ` Clive Davies
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox