mtd/m25p80: add support to parse the partitions by OF node
mtd/m25p80: add support to parse the partitions by OF node

Signed-off-by: Mingkai Hu <0f7a4b0e5837bbf73b1181bb27fe9dd77cd3ff1c@freescale.com>
[9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@secretlab.ca: wrap hunk with #ifdef CONFIG_OF]
Signed-off-by: Grant Likely <9069e6f5a2b566e2674a0ba1e2bf39c12c195fad@secretlab.ca>

KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs