src/soc/intel/braswell/southcluster.c: Replace fixed values by defines
The GPIO and ACPI base sizes have defines, but they are not used. Use GPIO_BASE_SIZE and ACPI_BASE_SIZE. BUG=N/A TEST=Intel CherryHill CRB Change-Id: I348eda57ab9dc0bd45f8dc9ab0e7c47c462102fe Signed-off-by: Frans Hendriks <fhendriks@eltan.com> Reviewed-on: https://review.coreboot.org/c/29788 Reviewed-by: Felix Held <felix-coreboot@felixheld.de> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Felix Held
						Felix Held
					
				
			
			
				
	
			
			
			
						parent
						
							802f43d67f
						
					
				
				
					commit
					4b2c12f093
				
			| @@ -126,10 +126,10 @@ static void sc_add_io_resources(struct device *dev) | ||||
| 	res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; | ||||
|  | ||||
| 	/* GPIO */ | ||||
| 	sc_add_io_resource(dev, GPIO_BASE_ADDRESS, 256, GBASE); | ||||
| 	sc_add_io_resource(dev, GPIO_BASE_ADDRESS, GPIO_BASE_SIZE, GBASE); | ||||
|  | ||||
| 	/* ACPI */ | ||||
| 	sc_add_io_resource(dev, ACPI_BASE_ADDRESS, 128, ABASE); | ||||
| 	sc_add_io_resource(dev, ACPI_BASE_ADDRESS, ACPI_BASE_SIZE, ABASE); | ||||
| } | ||||
|  | ||||
| static void sc_read_resources(struct device *dev) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user