public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] convention for SPI dummy data?
Date: Fri, 23 Apr 2010 11:08:10 -0400	[thread overview]
Message-ID: <201004231108.11427.vapier@gentoo.org> (raw)
In-Reply-To: <20100423084307.GN20047@leila.ping.de>

On Friday 23 April 2010 04:43:07 Wolfgang Wegner wrote:
> However, one of the things I had to change was the dummy data sent
> out by SPI for read-only transactions. The original driver had all
> zeros, for SD/MMC all ones (0xFF) is needed.
> 
> Is such a change acceptable, or is there any configuration option/flag
> I could use?

if it isnt part of the SPI/MMC spec, use a config option named like IDLE_VAL.  
changing the default to 0xff is OK i think.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20100423/2d4d9e5f/attachment.pgp 

  reply	other threads:[~2010-04-23 15:08 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-23  8:43 [U-Boot] convention for SPI dummy data? Wolfgang Wegner
2010-04-23 15:08 ` Mike Frysinger [this message]
2010-04-23 15:18   ` Wolfgang Wegner
2010-04-23 15:34     ` Wolfgang Wegner
2010-04-23 15:34     ` Mike Frysinger
2010-04-23 15:49       ` Wolfgang Wegner
2010-04-23 15:43   ` [U-Boot] [PATCH RFC] add CONFIG_SPI_IDLE_VAL for cf_spi.c to allow use of spi_mmc Wolfgang Wegner
2011-06-13 18:27     ` Terje B. Nilsen

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=201004231108.11427.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --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