From: Ladislav Michl <ladis@linux-mips.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
Date: Mon, 9 Jan 2017 11:17:27 +0100 [thread overview]
Message-ID: <20170109101727.lt7iaychcbvpfgnp@lenoch> (raw)
fdt_fixup_mtdparts currently does nothing when partitin info is
runtime generated or compiled-in defaults are used.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
common/fdt_support.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/common/fdt_support.c b/common/fdt_support.c
index c9f7019e38..a57a5759e4 100644
--- a/common/fdt_support.c
+++ b/common/fdt_support.c
@@ -903,14 +903,9 @@ void fdt_fixup_mtdparts(void *blob, void *node_info, int node_info_size)
{
struct node_info *ni = node_info;
struct mtd_device *dev;
- char *parts;
int i, idx;
int noff;
- parts = getenv("mtdparts");
- if (!parts)
- return;
-
if (mtdparts_init() != 0)
return;
--
2.11.0
next reply other threads:[~2017-01-09 10:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-09 10:17 Ladislav Michl [this message]
2017-02-08 17:41 ` [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts Simon Glass
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=20170109101727.lt7iaychcbvpfgnp@lenoch \
--to=ladis@linux-mips.org \
--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