diff --git a/cmds/intelana/main.go b/cmds/intelana/main.go index e64a7269..45b4c2b7 100644 --- a/cmds/intelana/main.go +++ b/cmds/intelana/main.go @@ -38,23 +38,16 @@ func main() { if fi.IFD.Region.FlashRegions[r].Valid() { offset := fi.IFD.Region.FlashRegions[r].BaseOffset() size := fi.IFD.Region.FlashRegions[r].EndOffset() - offset - fmt.Printf("%-5s offset %x size %x\n", r, offset, size) + fmt.Printf("%-9s offset %x size %x\n", r, offset, size) } else { - fmt.Printf("%-5s region not found: %s\n", r, err) + fmt.Printf("%-9s region not found/invalid\n", r) } } } - /* - for _, r := range fi.IFD.Region.FlashRegions { - fmt.Printf(" %#v\n", r) - } - */ - - doJson := false - fmt.Printf("\n== FIT ==\n") table, err := fit.GetTable(data) + doJson := false if doJson { j, err := json.MarshalIndent(table, "", " ") if err != nil {