util/intelp2m: Fix typos
Change-Id: I7210fb44ed54d365181ca23c6b92d2269dc8a697 Signed-off-by: Benjamin Doron <benjamin.doron00@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45007 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
308c1b7976
commit
0310279411
@ -67,9 +67,9 @@ func main() {
|
||||
"\tsnr - Sunrise PCH or Skylake/Kaby Lake SoC\n"+
|
||||
"\tlbg - Lewisburg PCH with Xeon SP\n"+
|
||||
"\tapl - Apollo Lake SoC\n"+
|
||||
"\tcnl - CannonLake-LP or Whiskeylake/Coffelake/Cometlake-U SoC\n")
|
||||
"\tcnl - CannonLake-LP or Whiskeylake/Coffeelake/Cometlake-U SoC\n")
|
||||
|
||||
filedstyle := flag.String("fld", "none", "set fileds macros style:\n"+
|
||||
fieldstyle := flag.String("fld", "none", "set fields macros style:\n"+
|
||||
"\tcb - use coreboot style for bit fields macros\n"+
|
||||
"\tfsp - use fsp style\n"+
|
||||
"\traw - do not convert, print as is\n")
|
||||
@ -106,8 +106,8 @@ func main() {
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
if config.FldStyleSet(*filedstyle) != 0 {
|
||||
fmt.Printf("Error! Unknown bit fields style option -%s!\n", *filedstyle)
|
||||
if config.FldStyleSet(*fieldstyle) != 0 {
|
||||
fmt.Printf("Error! Unknown bit fields style option -%s!\n", *fieldstyle)
|
||||
os.Exit(1)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user