ec/hp/kbc1126/acpi: Drop unnecessary _STA methods
_STA unconditionally returning 0xF is pretty much the default[1] and should be removed to reduce some noise. [1] https://uefi.org/htmlspecs/ACPI_Spec_6_4_html/06_Device_Configuration/Device_Configuration.html#sta-device-status Change-Id: I0390767aa866e322c762038c12116a15b280af1a Signed-off-by: Nicholas Sudsgaard <devel+coreboot@nsudsgaard.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81206 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
This commit is contained in:
		
				
					committed by
					
						
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							f77a28ac1f
						
					
				
				
					commit
					a46dd5cd4b
				
			@@ -47,11 +47,6 @@ Device (AC)
 | 
				
			|||||||
	Name (_HID, "ACPI0003")
 | 
						Name (_HID, "ACPI0003")
 | 
				
			||||||
	Name (_PCL, Package () { \_SB })
 | 
						Name (_PCL, Package () { \_SB })
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Method (_STA)
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		Return (0x0F)
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	Method (_PSR)
 | 
						Method (_PSR)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		Local0 = GACS ()
 | 
							Local0 = GACS ()
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -12,11 +12,6 @@ Device (EC0)
 | 
				
			|||||||
		IO (Decode16, 0x66, 0x66, 1, 1)
 | 
							IO (Decode16, 0x66, 0x66, 1, 1)
 | 
				
			||||||
	})
 | 
						})
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	Method (_STA)
 | 
					 | 
				
			||||||
	{
 | 
					 | 
				
			||||||
		Return (0x0F)
 | 
					 | 
				
			||||||
	}
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
	OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF)
 | 
						OperationRegion (ECRM, EmbeddedControl, 0x00, 0xFF)
 | 
				
			||||||
	Field (ECRM, ByteAcc, NoLock, Preserve)
 | 
						Field (ECRM, ByteAcc, NoLock, Preserve)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user