summaryrefslogtreecommitdiffstats
path: root/util/autoport
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-11 20:22:28 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-04-19 18:34:18 +0200
commit86ddd732bd82b84724883b1f1579e18790611fe5 (patch)
treee52c4c88ceb7e14fd415031c56997d8c4054116e /util/autoport
parent3812597c668b795d4fc85578021e501f2a56f6b9 (diff)
downloadcoreboot-86ddd732bd82b84724883b1f1579e18790611fe5.tar.gz
coreboot-86ddd732bd82b84724883b1f1579e18790611fe5.tar.bz2
coreboot-86ddd732bd82b84724883b1f1579e18790611fe5.zip
kbuild: Allow drivers to fit src/drivers/[X]/[Y]/ scheme
Reorder drivers to fit src/drivers/[X]/[Y]/ scheme to make them pluggable. Also, fix up the following driver subdirectories by switching to the src/drivers/[X]/[Y]/ scheme as these are hard requirements for the main change: * drivers/intel * drivers/pc80 * drivers/dec Change-Id: I455d3089a317181d5b99bf658df759ec728a5f6b Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/14047 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/autoport')
-rw-r--r--util/autoport/ec_fixme.go2
-rw-r--r--util/autoport/ec_lenovo.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/util/autoport/ec_fixme.go b/util/autoport/ec_fixme.go
index 850998d5ceb2..1e9265a924ef 100644
--- a/util/autoport/ec_fixme.go
+++ b/util/autoport/ec_fixme.go
@@ -64,7 +64,7 @@ Method(_PTS,1)
defer si.Close()
if hasKeyboard {
- si.WriteString("#include <drivers/pc80/ps2_controller.asl>\n")
+ si.WriteString("#include <drivers/pc80/pc/ps2_controller.asl>\n")
MainboardInit += fmt.Sprintf("\tpc_keyboard_init();\n")
MainboardIncludes = append(MainboardIncludes, "pc80/keyboard.h")
}
diff --git a/util/autoport/ec_lenovo.go b/util/autoport/ec_lenovo.go
index 2970a9fee33a..a0d21f13c7aa 100644
--- a/util/autoport/ec_lenovo.go
+++ b/util/autoport/ec_lenovo.go
@@ -57,7 +57,7 @@ Method(_PTS,1)
si := Create(ctx, "acpi/superio.asl")
defer si.Close()
- si.WriteString("#include <drivers/pc80/ps2_controller.asl>\n")
+ si.WriteString("#include <drivers/pc80/pc/ps2_controller.asl>\n")
dock := Create(ctx, "dock.c")
defer dock.Close()