public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* cfi_endian.h
@ 2001-03-14  1:49 Alice Hennessy
  2001-03-14  9:43 ` cfi_endian.h David Woodhouse
  0 siblings, 1 reply; 8+ messages in thread
From: Alice Hennessy @ 2001-03-14  1:49 UTC (permalink / raw)
  To: mtd; +Cc: ahennessy

Hi,

What do you think of the idea of making the choice
of  CFI_LITTLE_ENDIAN, CFI_HOST_ENDIAN,
CFI_BIG_ENDIAN and CFI_LART_ENDIAN configurable so
that different boards can setup the driver via configuring physmap
and not have to touch  the code at all (if they don't need to set vpp
and
just want a single device)?

Alice



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

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

* Re: cfi_endian.h
  2001-03-14  1:49 cfi_endian.h Alice Hennessy
@ 2001-03-14  9:43 ` David Woodhouse
  0 siblings, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2001-03-14  9:43 UTC (permalink / raw)
  To: Alice Hennessy; +Cc: mtd


ahennessy@mvista.com said:
> What do you think of the idea of making the choice of
> CFI_LITTLE_ENDIAN, CFI_HOST_ENDIAN, CFI_BIG_ENDIAN and CFI_LART_ENDIAN
> configurable so that different boards can setup the driver via
> configuring physmap and not have to touch  the code at all (if they
> don't need to set vpp and just want a single device)?

Has anyone actually needed to use anything other than HOST_ENDIAN yet?

--
dwmw2




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

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

* RE: cfi_endian.h
@ 2001-03-14 10:10 Kári Davíðsson
  2001-03-14 10:15 ` cfi_endian.h David Woodhouse
  0 siblings, 1 reply; 8+ messages in thread
From: Kári Davíðsson @ 2001-03-14 10:10 UTC (permalink / raw)
  To: mtd

Why is it not always CFI_HOST_ENDIAN?

K.D.

> -----Original Message-----
> From: Alice Hennessy [mailto:ahennessy@mvista.com]
> Sent: 14. mars 2001 01:50
> To: mtd@infradead.org
> Cc: ahennessy@mvista.com
> Subject: cfi_endian.h
> 
> 
> Hi,
> 
> What do you think of the idea of making the choice
> of  CFI_LITTLE_ENDIAN, CFI_HOST_ENDIAN,
> CFI_BIG_ENDIAN and CFI_LART_ENDIAN configurable so
> that different boards can setup the driver via configuring physmap
> and not have to touch  the code at all (if they don't need to set vpp
> and
> just want a single device)?
> 
> Alice
> 
> 
> 
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org
> 


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

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

* Re: cfi_endian.h
  2001-03-14 10:10 cfi_endian.h Kári Davíðsson
@ 2001-03-14 10:15 ` David Woodhouse
  2001-03-15  2:42   ` cfi_endian.h Alice Hennessy
  0 siblings, 1 reply; 8+ messages in thread
From: David Woodhouse @ 2001-03-14 10:15 UTC (permalink / raw)
  To: Kári Davíðsson; +Cc: mtd



kd@flaga.is said:
> Why is it not always CFI_HOST_ENDIAN? 

The default is CFI_HOST_ENDIAN now. That's probably good enough for almost 
everyone, so it shouldn't be necessary to make it configurable.

--
dwmw2




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

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

* Re: cfi_endian.h
  2001-03-14 10:15 ` cfi_endian.h David Woodhouse
@ 2001-03-15  2:42   ` Alice Hennessy
  2001-03-15  8:51     ` cfi_endian.h David Woodhouse
  0 siblings, 1 reply; 8+ messages in thread
From: Alice Hennessy @ 2001-03-15  2:42 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Kári Davíðsson, mtd, ahennessy

David Woodhouse wrote:

> kd@flaga.is said:
> > Why is it not always CFI_HOST_ENDIAN?
>
> The default is CFI_HOST_ENDIAN now. That's probably good enough for almost
> everyone, so it shouldn't be necessary to make it configurable.
>
> --
> dwmw2
>
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

I just tested a board today (SH proc)  that if put in big endian mode
needs CFI_BIG_ENDIAN enabled.   The hardware guys didn't swap the
bytes for us this time :-)

Alice



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

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

* Re: cfi_endian.h
  2001-03-15  2:42   ` cfi_endian.h Alice Hennessy
@ 2001-03-15  8:51     ` David Woodhouse
  2001-03-15 16:00       ` cfi_endian.h Nicolas Pitre
  2001-03-16  1:57       ` cfi_endian.h Alice Hennessy
  0 siblings, 2 replies; 8+ messages in thread
From: David Woodhouse @ 2001-03-15  8:51 UTC (permalink / raw)
  To: Alice Hennessy; +Cc: Kári Davíðsson, mtd


ahennessy@mvista.com said:
>  I just tested a board today (SH proc)  that if put in big endian mode
> needs CFI_BIG_ENDIAN enabled.   The hardware guys didn't swap the
> bytes for us this time :-) 

heh, ok. But to keep the complexity down for new users, let's hide them all 
behind 'CFI Advanced configuration options' choice, and probably stick the 
interleave/buswidth optimisation options behind it too.

--
dwmw2




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

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

* Re: cfi_endian.h
  2001-03-15  8:51     ` cfi_endian.h David Woodhouse
@ 2001-03-15 16:00       ` Nicolas Pitre
  2001-03-16  1:57       ` cfi_endian.h Alice Hennessy
  1 sibling, 0 replies; 8+ messages in thread
From: Nicolas Pitre @ 2001-03-15 16:00 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Alice Hennessy, Kári Davíðsson, mtd



On Thu, 15 Mar 2001, David Woodhouse wrote:

>
> ahennessy@mvista.com said:
> >  I just tested a board today (SH proc)  that if put in big endian mode
> > needs CFI_BIG_ENDIAN enabled.   The hardware guys didn't swap the
> > bytes for us this time :-)
>
> heh, ok. But to keep the complexity down for new users, let's hide them all
> behind 'CFI Advanced configuration options' choice, and probably stick the
> interleave/buswidth optimisation options behind it too.

Agreed.


Nicolas



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

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

* Re: cfi_endian.h
  2001-03-15  8:51     ` cfi_endian.h David Woodhouse
  2001-03-15 16:00       ` cfi_endian.h Nicolas Pitre
@ 2001-03-16  1:57       ` Alice Hennessy
  1 sibling, 0 replies; 8+ messages in thread
From: Alice Hennessy @ 2001-03-16  1:57 UTC (permalink / raw)
  To: David Woodhouse
  Cc: Kári Davíðsson, mtd, Nicolas Pitre, ahennessy

David Woodhouse wrote:

> ahennessy@mvista.com said:
> >  I just tested a board today (SH proc)  that if put in big endian mode
> > needs CFI_BIG_ENDIAN enabled.   The hardware guys didn't swap the
> > bytes for us this time :-)
>
> heh, ok. But to keep the complexity down for new users, let's hide them all
> behind 'CFI Advanced configuration options' choice, and probably stick the
> interleave/buswidth optimisation options behind it too.
>
> --
> dwmw2
>
> To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

Done.   I created "CFI Advanced configuration options" under CFI, moved the
geometry
selection  under it and added the endianness selection under it as well.

So, a new Config.in and cfi_endian.h

Alice



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

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

end of thread, other threads:[~2001-03-16  1:55 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-14 10:10 cfi_endian.h Kári Davíðsson
2001-03-14 10:15 ` cfi_endian.h David Woodhouse
2001-03-15  2:42   ` cfi_endian.h Alice Hennessy
2001-03-15  8:51     ` cfi_endian.h David Woodhouse
2001-03-15 16:00       ` cfi_endian.h Nicolas Pitre
2001-03-16  1:57       ` cfi_endian.h Alice Hennessy
  -- strict thread matches above, loose matches on Subject: below --
2001-03-14  1:49 cfi_endian.h Alice Hennessy
2001-03-14  9:43 ` cfi_endian.h David Woodhouse

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