* [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
@ 2017-01-09 10:17 Ladislav Michl
2017-02-08 17:41 ` Simon Glass
0 siblings, 1 reply; 2+ messages in thread
From: Ladislav Michl @ 2017-01-09 10:17 UTC (permalink / raw)
To: u-boot
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
2017-01-09 10:17 [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts Ladislav Michl
@ 2017-02-08 17:41 ` Simon Glass
0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2017-02-08 17:41 UTC (permalink / raw)
To: u-boot
On 9 January 2017 at 03:17, Ladislav Michl <ladis@linux-mips.org> wrote:
> 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(-)
Fixed commit message nits and
Applied to u-boot-dm, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-02-08 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-09 10:17 [U-Boot] [PATCH] common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts Ladislav Michl
2017-02-08 17:41 ` Simon Glass
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox