summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Chin <nic.c3.14@gmail.com>2024-06-23 11:38:04 -0600
committerFelix Held <felix-coreboot@felixheld.de>2024-06-24 18:02:56 +0000
commit7c05c61b0b79bca31d72242c47b2effeb9a7a012 (patch)
treead5067e03d35a2ef22d22fc698bda1b4f5e91ae7
parent4b43dac16b46a8f94a8b349764ce3efdfab64269 (diff)
util/autoport: Remove extra blank lines from generated files
The generated dsdt.asl and early_init.c files contained 2 consecutive blank lines, so remove one of them. Change-Id: Iad74098518320c5389cb86badb8737e81dd656ae Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/83186 Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--util/autoport/bd82x6x.go1
-rw-r--r--util/autoport/main.go3
2 files changed, 1 insertions, 3 deletions
diff --git a/util/autoport/bd82x6x.go b/util/autoport/bd82x6x.go
index 8ad0c1756b..d31cd6b4b6 100644
--- a/util/autoport/bd82x6x.go
+++ b/util/autoport/bd82x6x.go
@@ -294,7 +294,6 @@ func (b bd82x6x) Scan(ctx Context, addr PCIDevData) {
sb.WriteString(`#include <bootblock_common.h>
#include <device/pci_ops.h>
#include <southbridge/intel/bd82x6x/pch.h>
-
`)
usbPortConfig := "{\n"
diff --git a/util/autoport/main.go b/util/autoport/main.go
index 6426dd305c..99099d51f6 100644
--- a/util/autoport/main.go
+++ b/util/autoport/main.go
@@ -837,8 +837,7 @@ func main() {
Add_gpl(dsdt)
dsdt.WriteString(
- `
-#include <acpi/acpi.h>
+`#include <acpi/acpi.h>
DefinitionBlock(
"dsdt.aml",