projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
446d4e0
)
common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
author
Ladislav Michl
<ladis@linux-mips.org>
Mon, 9 Jan 2017 10:17:27 +0000
(11:17 +0100)
committer
Simon Glass
<sjg@chromium.org>
Wed, 8 Feb 2017 12:34:52 +0000
(
05:34
-0700)
fdt_fixup_mtdparts currently does nothing when partition info is
runtime-generated or compiled-in defaults are used.
Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Fix nits in commit message:
Signed-off-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
patch
|
blob
|
history
diff --git
a/common/fdt_support.c
b/common/fdt_support.c
index c9f7019e38e8de1469f506cdd57353fd27d8e134..a57a5759e4a030d9c03a5aad969703de787d41d6 100644
(file)
--- 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;