autoport: Improve formatting of EC ASL code
Change-Id: I7fe3e798346e760eebb357f20e55ee1a71a1e31a Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38436 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
This commit is contained in:
parent
aa30d6237e
commit
56258ff92b
@ -20,10 +20,10 @@ func FIXMEEC(ctx Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
ap.WriteString(
|
ap.WriteString(
|
||||||
`Method(_WAK,1)
|
`Method(_WAK, 1)
|
||||||
{
|
{
|
||||||
/* FIXME: EC support */
|
/* FIXME: EC support */
|
||||||
Return(Package(){0,0})
|
Return(Package() {0, 0})
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_PTS,1)
|
Method(_PTS,1)
|
||||||
|
@ -40,12 +40,12 @@ func LenovoEC(ctx Context) {
|
|||||||
}, GPEDefine)
|
}, GPEDefine)
|
||||||
|
|
||||||
ap.WriteString(
|
ap.WriteString(
|
||||||
`Method(_WAK,1)
|
`Method(_WAK, 1)
|
||||||
{
|
{
|
||||||
/* ME may not be up yet. */
|
/* ME may not be up yet. */
|
||||||
Store (0, \_TZ.MEB1)
|
Store(0, \_TZ.MEB1)
|
||||||
Store (0, \_TZ.MEB2)
|
Store(0, \_TZ.MEB2)
|
||||||
Return(Package(){0,0})
|
Return(Package() {0, 0})
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_PTS,1)
|
Method(_PTS,1)
|
||||||
|
@ -5,12 +5,12 @@ func NoEC(ctx Context) {
|
|||||||
defer ap.Close()
|
defer ap.Close()
|
||||||
|
|
||||||
ap.WriteString(
|
ap.WriteString(
|
||||||
`Method(_WAK,1)
|
`Method(_WAK, 1)
|
||||||
{
|
{
|
||||||
Return(Package(){0,0})
|
Return(Package() {0, 0})
|
||||||
}
|
}
|
||||||
|
|
||||||
Method(_PTS,1)
|
Method(_PTS, 1)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
`)
|
`)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user