public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Alessandro Rubini <rubini-list@gnudd.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] onenand and nand together
Date: Thu, 30 Oct 2008 08:55:22 +0100	[thread overview]
Message-ID: <20081030075522.GA22471@mail.gnudd.com> (raw)


Hello.

I am working to merge support for a board (Nomadik 8815) that includes
both Nand and OneNand.  The plan is to have both devices online, while
the configuration selects which one to use for environment and boot.

Unfortunately, jffs2 code in head complains if both CONFIG_CMD_NAND
and CONFIG_CMD_ONENAND are defined.

This trivial one-liner seems to fix one of the problems (although it
introduces a warning if neither one is defined), but there's
a bigger issue with "struct nand_bbt_descr" which is defined in two
different places, and I see no clean solution to that.

Any suggestion to have both devices online with the same boot loader?

thanks
/alessandro

             reply	other threads:[~2008-10-30  7:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-30  7:55 Alessandro Rubini [this message]
2008-10-31 18:50 ` [U-Boot] onenand and nand together Scott Wood

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=20081030075522.GA22471@mail.gnudd.com \
    --to=rubini-list@gnudd.com \
    --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