mb/lenovo/{x200,t400}: Set SMBUS mux using common SB functions
Change-Id: I1e9a165b722006557557058a14e9f5dac78d4538 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/31189 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Rudolph <siro@das-labor.org>
This commit is contained in:
		
				
					committed by
					
						
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							7f80c0cf07
						
					
				
				
					commit
					32a414f64a
				
			@@ -147,7 +147,7 @@ void mainboard_romstage_entry(unsigned long bist)
 | 
				
			|||||||
	init_iommu();
 | 
						init_iommu();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* FIXME: make a proper SMBUS mux support.  */
 | 
						/* FIXME: make a proper SMBUS mux support.  */
 | 
				
			||||||
	outl(inl(DEFAULT_GPIOBASE + 0x38) & ~0x400, DEFAULT_GPIOBASE + 0x38);
 | 
						set_gpio(42, GPIO_LEVEL_LOW);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cbmem_initted = !cbmem_recovery(s3resume);
 | 
						cbmem_initted = !cbmem_recovery(s3resume);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -118,7 +118,7 @@ void mainboard_romstage_entry(unsigned long bist)
 | 
				
			|||||||
	init_iommu();
 | 
						init_iommu();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/* FIXME: make a proper SMBUS mux support.  */
 | 
						/* FIXME: make a proper SMBUS mux support.  */
 | 
				
			||||||
	outl(inl(DEFAULT_GPIOBASE + 0x38) & ~0x400, DEFAULT_GPIOBASE + 0x38);
 | 
						set_gpio(42, GPIO_LEVEL_LOW);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	cbmem_initted = !cbmem_recovery(s3resume);
 | 
						cbmem_initted = !cbmem_recovery(s3resume);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user