[PATCH v5 02/12] bootstd: Refactor mmc prep to allow a different scan