summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Polyakov <max.senia.poliak@gmail.com>2024-06-07 18:10:24 +0300
committerFelix Held <felix-coreboot@felixheld.de>2024-06-21 16:07:07 +0000
commit81f4beba79d0d64c9dbde13807f857ac2efdacb8 (patch)
tree68fcc3d3f0206bb65d98aba88110338dca11e818
parenta022d88b6f8e840126629047376ecb4d3d72f075 (diff)
util/intelp2m: Remove blank line after '{'
The generator inserts into the gpio.h an unnecessary blank line in front of the list of macros in the table. Let's remove this from the template to make the code cleaner. These changes have no effect on the configuration of macros. Change-Id: I1141ca630cb6d9a46be5bce2b434762ef8e6fdd0 Signed-off-by: Maxim Polyakov <max.senia.poliak@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83003 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/intelp2m/main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/intelp2m/main.go b/util/intelp2m/main.go
index 4f66a0acb9..38a3b5fc70 100644
--- a/util/intelp2m/main.go
+++ b/util/intelp2m/main.go
@@ -21,8 +21,7 @@ func generateOutputFile(parser *parser.ParserData) (err error) {
#include <gpio.h>
/* Pad configuration was generated automatically using intelp2m utility */
-static const struct pad_config gpio_table[] = {
-`)
+static const struct pad_config gpio_table[] = {`)
// Add the pads map
parser.PadMapFprint()
config.OutputGenFile.WriteString(`};