summaryrefslogtreecommitdiff
path: root/common/fdt_decode.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/fdt_decode.c')
-rw-r--r--common/fdt_decode.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/common/fdt_decode.c b/common/fdt_decode.c
index afa070f2d6..bf56186af8 100644
--- a/common/fdt_decode.c
+++ b/common/fdt_decode.c
@@ -718,11 +718,6 @@ int fdt_decode_nand(const void *blob, int node, struct fdt_nand *config)
if (err < 0)
return err;
- err = get_int_array(blob, node, "nv-partitions", config->nv_partitions,
- FDT_NAND_PARTOFFSET_COUNT);
- if (err < 0)
- return err;
-
/* Now look up the controller and decode that */
node = lookup_phandle(blob, node, "controller");
if (node < 0)