public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Re: CFI Devices in x8 mode
       [not found] <NEBBKJHOALKOLCFPGELEMEFGCIAA.ajlennon@arcom.co.uk>
@ 2001-03-26 12:00 ` David Woodhouse
  2001-03-26 12:07   ` Alex Lennon
  0 siblings, 1 reply; 2+ messages in thread
From: David Woodhouse @ 2001-03-26 12:00 UTC (permalink / raw)
  To: Alex Lennon; +Cc: mtd


ajlennon@arcom.co.uk said:
>  Running cfi_probe() from the mediagx driver now results in no CFI
> chip being found. A brief look through the detection code shows that
> we are writing 0x98 (Read Query Command) to offset 0x55. Next we read
> back and expect to see 'Q', 'R' 'Y' starting at 0x10 (given a device
> type of x8 (equ 1) and an interleave of 1).

The 8-bit buswidth probe doesn't attempt to probe for a device type X16 any 
more. It should. Someone gave me a patch for that a few days ago, I think - 
but I can't find it. I've just committed what I think is the correct fix to 
CVS.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: CFI Devices in x8 mode
  2001-03-26 12:00 ` CFI Devices in x8 mode David Woodhouse
@ 2001-03-26 12:07   ` Alex Lennon
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Lennon @ 2001-03-26 12:07 UTC (permalink / raw)
  To: David Woodhouse; +Cc: mtd


>The 8-bit buswidth probe doesn't attempt to probe for a device type X16 any
>more. It should. Someone gave me a patch for that a few days ago, I think -
>but I can't find it. I've just committed what I think is the correct fix to
>CVS.

Sorry - I think I'm misunderstanding - I've got an eight bit device here but
the code
looks as though its accessing it as a 16-bit device from what I can see in
the spec.

For word addressing the query data structure starts at 0x10 and continues
'Q', 'R', Y', P_IDlo, P_IDhi etc.
For byte addressing the q.d.s. starts at 0x20 and continues 'Q', 'Q', 'R',
'R', 'Y', 'Y', P_IDlo, P_IDhi etc.

If I'm reading this stuff right then the cfi_cfi_probe() code doesn't seems
to be taking the base offset into account ?

Alex





To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-03-26 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <NEBBKJHOALKOLCFPGELEMEFGCIAA.ajlennon@arcom.co.uk>
2001-03-26 12:00 ` CFI Devices in x8 mode David Woodhouse
2001-03-26 12:07   ` Alex Lennon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox