ec/google/wilco: Convert to ASL 2.0 syntax
Change-Id: Ie5c88f8acee16ff77f9707d7ed56436bf0d521b1 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46098 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
This commit is contained in:
		
				
					committed by
					
						
						Michael Niewöhner
					
				
			
			
				
	
			
			
			
						parent
						
							5b880a1333
						
					
				
				
					commit
					2a08ca7e7a
				
			@@ -96,7 +96,7 @@ Method (PATX, 0, Serialized)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	Printf ("Sensor trip mask: %o", Local0)
 | 
						Printf ("Sensor trip mask: %o", Local0)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	If (LNot (Acquire (^PATM, 1000))) {
 | 
						If (!Acquire (^PATM, 1000)) {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		/* Handle bits that are set */
 | 
							/* Handle bits that are set */
 | 
				
			||||||
		While (FindSetRightBit (Local1, Local2))
 | 
							While (FindSetRightBit (Local1, Local2))
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -50,7 +50,7 @@ Device (EC0)
 | 
				
			|||||||
		^UCSI.INIT ()
 | 
							^UCSI.INIT ()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		// Initialize LID switch state
 | 
							// Initialize LID switch state
 | 
				
			||||||
		Store (R (P1LC), \LIDS)
 | 
							\LIDS = R (P1LC)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/*
 | 
						/*
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -8,7 +8,7 @@ Device (LID0)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
	Method (_LID, 0, NotSerialized)
 | 
						Method (_LID, 0, NotSerialized)
 | 
				
			||||||
	{
 | 
						{
 | 
				
			||||||
		Store (R (P1LC), \LIDS)
 | 
							\LIDS = R (P1LC)
 | 
				
			||||||
		Return (\LIDS)
 | 
							Return (\LIDS)
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user