Change-Id: I54a35390550b1384f12c4b12267029d77bef8fa3
Change-Id: I0fa64d4f4deaf8f067be3bd0b0bb963cf5af3f3f
Detect flash type at runtime rather than requiring this to be set in the device configuration. The detection is based on the existence of /proc/mtd, /proc/emmc, or /dev/block/bml1. Change-Id: I464962a567022c5862c249f06d36c2d1cddeacba