summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel.ziswiler@toradex.com>2012-10-18 12:53:36 +0200
committertrdx <trdx@vm_one.(none)>2012-10-18 18:32:38 +0200
commit87b460ba7e21efbcb789cc404dc9da90862cf968 (patch)
tree0bd774f3a73b7baddd272d57296454644413e552 /common
parent81a55464071d5079df38f81921ff6db2113d923d (diff)
colibri_t20: nand: change offset handling
Rather than relying on hard-coded offsets actually make use of partition table parsing implementation.
Diffstat (limited to 'common')
-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)