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>
		
			
				
	
	
		
			24 lines
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			301 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package main
 | 
						|
 | 
						|
func NoEC(ctx Context) {
 | 
						|
	ap := Create(ctx, "acpi/platform.asl")
 | 
						|
	defer ap.Close()
 | 
						|
 | 
						|
	ap.WriteString(
 | 
						|
		`Method(_WAK, 1)
 | 
						|
{
 | 
						|
	Return(Package() {0, 0})
 | 
						|
}
 | 
						|
 | 
						|
Method(_PTS, 1)
 | 
						|
{
 | 
						|
}
 | 
						|
`)
 | 
						|
 | 
						|
	si := Create(ctx, "acpi/superio.asl")
 | 
						|
	defer si.Close()
 | 
						|
 | 
						|
	ec := Create(ctx, "acpi/ec.asl")
 | 
						|
	defer ec.Close()
 | 
						|
}
 |