mb/google/hatch: Move SD card detect GPIO.
Not all Hatch variants utilize the SoC's native SD card support. Move the support to board-specific variants instead of the base device tree. BUG=none BRANCH=none TEST=compiles (no Hatch device to test with) Change-Id: Iae24114aad2c4d042c25da6f8cb740ccc8960082 Signed-off-by: Tim Wawrzynczak <twawrzynczak@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/32417 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Paul Fagerburg <pfagerburg@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Stefan Reinauer
						Stefan Reinauer
					
				
			
			
				
	
			
			
			
						parent
						
							4d99b27018
						
					
				
				
					commit
					40dee3d506
				
			| @@ -77,9 +77,6 @@ chip soc/intel/cannonlake | ||||
| 	# ClkReq-to-ClkSrc mapping for CLK SRC 1 | ||||
| 	register "PcieClkSrcClkReq[1]" = "1" | ||||
|  | ||||
| 	# GPIO for SD card detect | ||||
| 	register "sdcard_cd_gpio" = "vSD3_CD_B" | ||||
|  | ||||
| 	# PCIe port 14 for M.2 E-key WLAN | ||||
| 	register "PcieRpEnable[13]" = "1" | ||||
| 	# RP 14 uses CLK SRC 3 | ||||
|   | ||||
| @@ -44,6 +44,9 @@ chip soc/intel/cannonlake | ||||
| 		}, | ||||
| 	}" | ||||
|  | ||||
| 	# GPIO for SD card detect | ||||
| 	register "sdcard_cd_gpio" = "vSD3_CD_B" | ||||
|  | ||||
| 	device domain 0 on | ||||
| 		device pci 15.0 on | ||||
| 			chip drivers/i2c/generic | ||||
|   | ||||
| @@ -29,6 +29,9 @@ chip soc/intel/cannonlake | ||||
| 		}, | ||||
| 	}" | ||||
|  | ||||
| 	# GPIO for SD card detect | ||||
| 	register "sdcard_cd_gpio" = "vSD3_CD_B" | ||||
|  | ||||
| 	device domain 0 on | ||||
| 		device pci 15.0 on | ||||
| 			chip drivers/i2c/generic | ||||
|   | ||||
		Reference in New Issue
	
	Block a user