public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] SPI and spi_cs_activate
@ 2010-01-29 15:59 Wolfgang Wegner
  2010-01-29 16:11 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Wegner @ 2010-01-29 15:59 UTC (permalink / raw)
  To: u-boot

Hi list,

I am trying to get the spi_mmc driver by Robert Selberg and Hans Eklund
to run on my new Coldfire board. (The driver was posted as a patch some
time ago, clearly marked as not ready for mainline. I just did not figure
out the correct search term to give the message ID.)

Now I am running into problems because the driver uses spi_cs_[de]activate,
which is rather useless on coldfire which does automatic cs.

Looking through other drivers' code it seems to me that spi_cs_[de]activate
was never meant to be called from anybody else but some special SPI
drivers that can not aotumatically control cs lines or for systems
where SPI is done in software and so setting the appropriate GPIOs
is handed over to special board-dependent code.

Is this correct, or am I missing something?

Regards,
Wolfgang

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

end of thread, other threads:[~2010-01-29 16:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29 15:59 [U-Boot] SPI and spi_cs_activate Wolfgang Wegner
2010-01-29 16:11 ` Mike Frysinger
2010-01-29 16:18   ` Wolfgang Wegner
2010-01-29 16:27     ` Mike Frysinger

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