diff options
author | Ladislav Michl <ladis@linux-mips.org> | 2017-01-09 13:17:27 +0300 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2017-02-08 15:34:52 +0300 |
commit | 136026f18ed7bdfadc1af1696eced2b13af003d7 (patch) | |
tree | 747e9178150714d77e6988efa0c6be48de4b10c2 /common/fdt_support.c | |
parent | 446d4e048ee3b00f7907e15cd02aa404cc714c77 (diff) | |
download | u-boot-136026f18ed7bdfadc1af1696eced2b13af003d7.tar.xz |
common: fdt_support: Remove check for mtdparts in fdt_fixup_mtdparts
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>
Diffstat (limited to 'common/fdt_support.c')
-rw-r--r-- | common/fdt_support.c | 5 |
1 files changed, 0 insertions, 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; |