[PATCH v2 23/35] bootstd: Support bootflows with global bootmeths