From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH v2 1/3] New i.MX31 SPI driver
Date: Thu, 08 May 2008 20:52:00 +0200 [thread overview]
Message-ID: <20080508185200.A1CC324764@gemini.denx.de> (raw)
In-Reply-To: Your message of "Thu, 08 May 2008 18:17:08 +0200." <20080508181708.60e8b3e9@hskinnemo-gx620.norway.atmel.com>
In message <20080508181708.60e8b3e9@hskinnemo-gx620.norway.atmel.com> you wrote:
>
> Yes, perhaps we need that. But I was sort of thinking that once you
> initialize a slave, it will just stick around until you boot an OS or
> reset. Most drivers don't seem to have any cleanup hooks anyway, and
> some don't even have init hooks. In the latter case, you can simply
> keep a static struct spi_slave * around and if it's NULL, you
> initialize it.
Even if there is lots of bad examples, it is a design requirement to
disable a hardware interface after use. See bullet 6 at
http://www.denx.de/wiki/UBoot/DesignRequirements
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
If the odds are a million to one against something occuring, chances
are 50-50 it will.
next prev parent reply other threads:[~2008-05-08 18:52 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-15 12:14 [U-Boot-Users] [PATCH v2 1/3] New i.MX31 SPI driver Guennadi Liakhovetski
2008-04-18 7:54 ` Wolfgang Denk
2008-05-08 11:47 ` Haavard Skinnemoen
2008-05-08 11:59 ` Guennadi Liakhovetski
2008-05-08 12:18 ` Haavard Skinnemoen
2008-05-08 13:03 ` Guennadi Liakhovetski
2008-05-08 13:32 ` Haavard Skinnemoen
2008-05-08 13:54 ` Guennadi Liakhovetski
2008-05-08 14:18 ` Haavard Skinnemoen
2008-05-08 14:49 ` Guennadi Liakhovetski
2008-05-08 15:32 ` Haavard Skinnemoen
2008-05-08 15:59 ` Guennadi Liakhovetski
2008-05-08 16:17 ` Haavard Skinnemoen
2008-05-08 16:26 ` Guennadi Liakhovetski
2008-05-08 16:38 ` Haavard Skinnemoen
2008-05-08 19:37 ` Ben Warren
2008-05-08 18:53 ` Wolfgang Denk
2008-05-08 19:03 ` Guennadi Liakhovetski
2008-05-08 21:23 ` Wolfgang Denk
2008-05-08 21:41 ` Guennadi Liakhovetski
2008-05-09 9:22 ` Haavard Skinnemoen
2008-05-08 18:52 ` Wolfgang Denk [this message]
2008-05-09 9:24 ` Haavard Skinnemoen
2008-05-08 12:16 ` Wolfgang Denk
2008-05-08 12:45 ` Haavard Skinnemoen
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=20080508185200.A1CC324764@gemini.denx.de \
--to=wd@denx.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