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