Elyes Haouas has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/81547?usp=email )
Change subject: util/intelp2m: Avoid adding blank line after '{' ......................................................................
util/intelp2m: Avoid adding blank line after '{'
Change-Id: I8105734b1b4776d0eb01b13c80e21e130719fe83 Signed-off-by: Elyes Haouas ehaouas@noos.fr --- M util/intelp2m/parser/parser.go 1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/47/81547/1
diff --git a/util/intelp2m/parser/parser.go b/util/intelp2m/parser/parser.go index 0e2a64b..2932c15 100644 --- a/util/intelp2m/parser/parser.go +++ b/util/intelp2m/parser/parser.go @@ -50,6 +50,9 @@ // titleFprint - print GPIO group title to file // /* ------- GPIO Group GPP_L ------- */ func (info *padInfo) titleFprint() { + if !strings.Contains(info.function, "GPIO Community 0") { + fmt.Fprintf(config.OutputGenFile, "\n") + } info.generate(0, "\n\t/* %s */\n", info.function) }