From: Marc Kleine-Budde <mkl@pengutronix.de>
To: barebox@lists.infradead.org
Cc: sha@pengutronix.de
Subject: [PATCH 2/3] defaultenv: fix adding of nand_parts
Date: Tue, 24 Aug 2010 22:26:11 +0200 [thread overview]
Message-ID: <1282681572-20846-3-git-send-email-mkl@pengutronix.de> (raw)
In-Reply-To: <1282681572-20846-1-git-send-email-mkl@pengutronix.de>
Really add nand_parts if nand_parts are set, not nor_parts.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
---
defaultenv/bin/boot | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/defaultenv/bin/boot b/defaultenv/bin/boot
index 5312d1e..a9e589b 100644
--- a/defaultenv/bin/boot
+++ b/defaultenv/bin/boot
@@ -47,7 +47,7 @@ if [ -n $nor_parts ]; then
fi
if [ -n $nand_parts ]; then
- mtdparts="${mtdparts}$nand_device:${nor_parts};"
+ mtdparts="${mtdparts}${nand_device}:${nand_parts};"
fi
if [ -n $mtdparts ]; then
--
1.7.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
next prev parent reply other threads:[~2010-08-24 20:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-24 20:26 [PATCH 0/3] fix defaultenv Marc Kleine-Budde
2010-08-24 20:26 ` [PATCH 1/3] defaultenv: fix physmap-flash device name Marc Kleine-Budde
2010-08-24 20:26 ` Marc Kleine-Budde [this message]
2010-08-24 20:26 ` [PATCH 3/3] defaultenv: create /dev/ram0.kernel at offset 8M Marc Kleine-Budde
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=1282681572-20846-3-git-send-email-mkl@pengutronix.de \
--to=mkl@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=sha@pengutronix.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