[PATCH v5 1/8] bootstd: Tweak bootflow logic for device tree