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:
Benjamin Doron
2020-10-22 16:36:29 +00:00
committed by Patrick Georgi
parent 308c1b7976
commit 0310279411
4 changed files with 13 additions and 13 deletions

View File

@@ -19,11 +19,11 @@ type field struct {
}
// generate - wrapper for generating bitfield macros string
// fileds : field structure
func generate(fileds ...*field) {
// fields : field structure
func generate(fields ...*field) {
macro := common.GetMacro()
var allhidden bool = true
for _, field := range fileds {
for _, field := range fields {
if field.unhide {
allhidden = false
macro.Or()