[PATCH v2 3/5] bootm: Support boot measurement