northbridge/intel/nehalem/gma.c: Improve code formatting
Change-Id: Ie7ee547ab34441f93433936334e9881dd7cc0371 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16599 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
This commit is contained in:
		
				
					committed by
					
						
						Martin Roth
					
				
			
			
				
	
			
			
			
						parent
						
							237916ac0a
						
					
				
				
					commit
					cf5430fd5c
				
			@@ -1061,10 +1061,8 @@ static void gma_read_resources(struct device *dev)
 | 
				
			|||||||
		return;
 | 
							return;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	res->flags |= IORESOURCE_RESERVE | IORESOURCE_FIXED | IORESOURCE_ASSIGNED;
 | 
						res->flags |= IORESOURCE_RESERVE | IORESOURCE_FIXED | IORESOURCE_ASSIGNED;
 | 
				
			||||||
	pci_write_config32(dev, PCI_BASE_ADDRESS_2,
 | 
						pci_write_config32(dev, PCI_BASE_ADDRESS_2, 0xd0000001);
 | 
				
			||||||
			   0xd0000001);
 | 
						pci_write_config32(dev, PCI_BASE_ADDRESS_2 + 4, 0);
 | 
				
			||||||
	pci_write_config32(dev, PCI_BASE_ADDRESS_2 + 4,
 | 
					 | 
				
			||||||
			   0);
 | 
					 | 
				
			||||||
	res->base = (resource_t) 0xd0000000;
 | 
						res->base = (resource_t) 0xd0000000;
 | 
				
			||||||
	res->size = (resource_t) 0x10000000;
 | 
						res->size = (resource_t) 0x10000000;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
@@ -1105,8 +1103,8 @@ static struct device_operations gma_func0_ops = {
 | 
				
			|||||||
	.ops_pci = &gma_pci_ops,
 | 
						.ops_pci = &gma_pci_ops,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const unsigned short pci_device_ids[] =
 | 
					static const unsigned short pci_device_ids[] = {
 | 
				
			||||||
    { 0x0046, 0x0102, 0x0106, 0x010a, 0x0112,
 | 
						0x0046, 0x0102, 0x0106, 0x010a, 0x0112,
 | 
				
			||||||
	0x0116, 0x0122, 0x0126, 0x0156,
 | 
						0x0116, 0x0122, 0x0126, 0x0156,
 | 
				
			||||||
	0x0166,
 | 
						0x0166,
 | 
				
			||||||
	0
 | 
						0
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user