[PATCH v2 2/4] bootstd: Add a return code to bootflow menu