From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] [PATCH7] microblaze - ROMFS adapt files
Date: Tue, 11 Sep 2007 22:49:52 +0200 [thread overview]
Message-ID: <20070911204952.183BA247DA@gemini.denx.de> (raw)
In-Reply-To: Your message of "Tue, 11 Sep 2007 09:14:26 MDT." <fa686aa40709110814m5024c66bo536ff12d0b8be7cd@mail.gmail.com>
In message <fa686aa40709110814m5024c66bo536ff12d0b8be7cd@mail.gmail.com> you wrote:
> On 8/30/07, Michal Simek <Monstr@seznam.cz> wrote:
> > DESC: ROMFS support files and sorted names in Makefiles
> >
> > Signed-off-by: Michal Simek <monstr@monstr.eu>
> >
> > Note; I think that we can start process with redesigning all FS support
>
> I'm still not really fond of this approach. Repurposing CONFIG_JFFS2
> to add more and more filesystems is not a good approach. I don't
> recommend merging this as is.
Agreed. In any case it's not a bug fix and thus will not go into
1.3.0.
> Ideally, the whole filesystem handling should be reworked into a
> single API, but I understand that it's a non-trivial amount of work.
> However, at the very least, ROMFS should be configured with a separate
> CONFIG_xxx macro.
Agreed, too.
> > - /* check partition type for cramfs */
> > - fsname = (cramfs_check(part) ? "CRAMFS" : "JFFS2");
> > + /* check partition type for JFFS2, cramfs, romfs */
> > + if (cramfs_check(part)) {
> > + fsname = "CRAMFS";
> > + } else if (romfs_check(part)) {
> > + fsname = "ROMFS";
> > + } else {
> > + fsname = "JFFS2";
> > + }
>
> This will get unwieldy in a real hurry. This should probably be
> reworked into a table of filesystem handlers which binds all the
> driver callbacks.
Indeed.
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
The heart is not a logical organ.
-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4
prev parent reply other threads:[~2007-09-11 20:49 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-30 7:54 [U-Boot-Users] [PATCH7] microblaze - ROMFS adapt files Michal Simek
2007-09-11 15:14 ` Grant Likely
2007-09-11 15:36 ` Michal Simek
2007-09-11 20:49 ` Wolfgang Denk [this message]
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=20070911204952.183BA247DA@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.