repo.or.cz
/
coreboot.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MAINTAINERS: Add Maximilian Brune to RISC-V
[coreboot.git]
/
util
/
autoport
/
ec_none.go
blob
bcb61bf03f927c9ad60aacc056d61f0968df4fa8
1
package
main
2
3
func
NoEC
(
ctx Context
) {
4
ap
:=
Create
(
ctx
,
"acpi/platform.asl"
)
5
defer
ap
.
Close
()
6
7
Add_gpl
(
ap
)
8
ap
.
WriteString
(
9
`Method(_WAK, 1)
10
{
11
Return(Package() {0, 0})
12
}
13
14
Method(_PTS, 1)
15
{
16
}
17
`
)
18
19
si
:=
Create
(
ctx
,
"acpi/superio.asl"
)
20
defer
si
.
Close
()
21
22
ec
:=
Create
(
ctx
,
"acpi/ec.asl"
)
23
defer
ec
.
Close
()
24
}