From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [U-Boot, v2] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it
Date: Sun, 25 Feb 2018 18:38:22 +0100 [thread overview]
Message-ID: <20180225173822.E89AB2406F7@gemini.denx.de> (raw)
In-Reply-To: <20180225161813.10554012@jawa>
Dear Lukasz,
In message <20180225161813.10554012@jawa> you wrote:
>
> As I've read the discussion between Tom and Wolfgang - I'm wondering if
> this initialization could be done in the driver model?
Indeed DM would be a good place for such lazy initialization as
would be useful here.
>
> I think that DM is a right place to put such code (ecluding the case
> of env in eMMC readed in SPL).
But even there we cannot add code to initialize all kinds of
potential storage devices to all kinds of supported file systems.
This may work with a single fixed configuration (which probably is
what the OP had in mind), but it does not scale, and it is the wrong
thing to do.
> I've added Simon to CC, so maybe he can give us some insights.
Thanks. Hopefully Simon has a clever idea...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
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 you can, help others. If you can't, at least don't hurt others."
- the Dalai Lama
next prev parent reply other threads:[~2018-02-25 17:38 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-12 13:54 [U-Boot] [PATCH v2] env: mmc/fat/ext4: make sure that the MMC sub-system is initialized before using it Faiz Abbas
2018-02-19 5:32 ` Faiz Abbas
2018-02-20 22:03 ` [U-Boot] [U-Boot, " Tom Rini
2018-02-24 20:58 ` Wolfgang Denk
2018-02-24 21:53 ` Tom Rini
2018-02-25 8:53 ` Wolfgang Denk
2018-02-25 13:48 ` Tom Rini
2018-02-25 14:50 ` Wolfgang Denk
2018-02-25 18:35 ` Tom Rini
2018-02-25 15:18 ` Lukasz Majewski
2018-02-25 17:38 ` Wolfgang Denk [this message]
2018-02-26 14:29 ` Faiz Abbas
2018-02-28 9:08 ` Lukasz Majewski
2018-03-05 9:59 ` Faiz Abbas
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=20180225173822.E89AB2406F7@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