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
Change-Id: I8ec38a3b5e20e39b02c393d13e89142038ae3e82
Change-Id: I9dd7fd8552d4efce533c23541f3612c01e3bd90b
Change-Id: Icad93103ed2321ad8b6aecbbf2e0f2f8fe139c0f
Change-Id: I836d8c28c9efce034032fa3bd2e0e15cac1ad23f