mirror of
				https://source.denx.de/u-boot/u-boot.git
				synced 2025-10-31 16:31:25 +01:00 
			
		
		
		
	Add common x86 ASL files, taken from coreboot. Signed-off-by: Simon Glass <sjg@chromium.org> Tested-by: Wolfgang Wallner <wolfgang.wallner@br-automation.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			432 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			432 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0 */
 | |
| /*
 | |
|  * Copyright (C) 2016 Intel Corp.
 | |
|  */
 | |
| 
 | |
| #define PCI_OSC_UUID "33DB4D5B-1FF7-401C-9657-7441C03DD766"
 | |
| 
 | |
| Scope (\_SB.PCI0) {
 | |
| 	Method (_OSC, 4) {
 | |
| 		/* Check for proper GUID */
 | |
| 		If (LEqual (Arg0, ToUUID (PCI_OSC_UUID))) {
 | |
| 			/* Let OS control everything */
 | |
| 			Return (Arg3)
 | |
| 		} Else {
 | |
| 			/* Unrecognized UUID */
 | |
| 			CreateDWordField (Arg3, 0, CDW1)
 | |
| 			Or (CDW1, 4, CDW1)
 | |
| 			Return (Arg3)
 | |
| 		}
 | |
| 	}
 | |
| }
 |