public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Wegner <wolfgang@leila.ping.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] SPI and spi_cs_activate
Date: Fri, 29 Jan 2010 16:59:28 +0100	[thread overview]
Message-ID: <20100129155928.GU23389@leila.ping.de> (raw)

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

             reply	other threads:[~2010-01-29 15:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29 15:59 Wolfgang Wegner [this message]
2010-01-29 16:11 ` [U-Boot] SPI and spi_cs_activate Mike Frysinger
2010-01-29 16:18   ` Wolfgang Wegner
2010-01-29 16:27     ` Mike Frysinger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100129155928.GU23389@leila.ping.de \
    --to=wolfgang@leila.ping.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox