mfg_manifest: Include raw sections in manifest
diff --git a/manifest/mfg_manifest.go b/manifest/mfg_manifest.go
index f742e12..6687f9a 100644
--- a/manifest/mfg_manifest.go
+++ b/manifest/mfg_manifest.go
@@ -38,6 +38,12 @@
ManifestPath string `json:"manifest_path"`
}
+type MfgManifestRaw struct {
+ Filename string `json:"filename"`
+ Offset int `json:"offset"`
+ BinPath string `json:"bin_path"`
+}
+
type MfgManifestMetaMmr struct {
Area string `json:"area"`
Device int `json:"_device"`
@@ -72,6 +78,7 @@
FlashAreas []flash.FlashArea `json:"flash_map"`
Targets []MfgManifestTarget `json:"targets"`
+ Raws []MfgManifestRaw `json:"raws"`
Meta *MfgManifestMeta `json:"meta,omitempty"`
}