src: Remove unneeded include "{arch,cpu}/cpu.h"
Change-Id: I17c4fc4e3e2eeef7c720c6a020b37d8f7a0f57a4 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/29300 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							a9a1913d4d
						
					
				
				
					commit
					d2b9ec1362
				
			| @@ -19,11 +19,9 @@ | ||||
|  | ||||
| #include <console/console.h> | ||||
| #include <device/device.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cbmem.h> | ||||
| #include <symbols.h> | ||||
|  | ||||
|  | ||||
| static void cpu_enable_resources(struct device *dev) | ||||
| { | ||||
| 	ram_resource(dev, 0, (uintptr_t)_dram/KiB, | ||||
|   | ||||
| @@ -19,6 +19,7 @@ | ||||
|  * WARNING: this file will be used by both any AP cores and core 0 / node 0 | ||||
|  */ | ||||
|  | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/amd/msr.h> | ||||
|   | ||||
| @@ -18,7 +18,6 @@ | ||||
|  | ||||
| #include <stdlib.h> | ||||
| #include <console/console.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
| #include <cpu/amd/msr.h> | ||||
|   | ||||
| @@ -27,7 +27,6 @@ | ||||
| #include <string.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/amd/mtrr.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/amd/model_10xxx_rev.h> | ||||
| #include <device/device.h> | ||||
| #include <device/pci.h> | ||||
|   | ||||
| @@ -14,7 +14,7 @@ | ||||
|  * GNU General Public License for more details. | ||||
|  */ | ||||
|  | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/amd/mtrr.h> | ||||
|  | ||||
|   | ||||
| @@ -13,9 +13,7 @@ | ||||
|  * GNU General Public License for more details. | ||||
|  */ | ||||
|  | ||||
|  | ||||
| #include <console/console.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <device/device.h> | ||||
| #include <device/pci.h> | ||||
|   | ||||
| @@ -15,6 +15,7 @@ | ||||
|  * GNU General Public License for more details. | ||||
|  */ | ||||
|  | ||||
| #include <arch/cpu.h> | ||||
| #include <console/console.h> | ||||
| #include <pc80/mc146818rtc.h> | ||||
| #if IS_ENABLED(CONFIG_HAVE_OPTION_TABLE) | ||||
|   | ||||
| @@ -16,7 +16,6 @@ | ||||
|  | ||||
| #include <console/console.h> | ||||
| #include <arch/io.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
|   | ||||
| @@ -11,7 +11,6 @@ | ||||
|  * GNU General Public License for more details. | ||||
|  */ | ||||
|  | ||||
| #include <arch/cpu.h> | ||||
| #include <console/console.h> | ||||
| #include <cpu/intel/romstage.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include "model_206ax.h" | ||||
|  | ||||
|   | ||||
| @@ -15,7 +15,6 @@ | ||||
|  */ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/intel/microcode/microcode.c> | ||||
| #include <cpu/x86/msr.h> | ||||
|   | ||||
| @@ -14,7 +14,6 @@ | ||||
|  */ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include "haswell.h" | ||||
|  | ||||
|   | ||||
| @@ -19,7 +19,6 @@ | ||||
| #include <console/console.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cf9_reset.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/bist.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
|   | ||||
| @@ -18,7 +18,6 @@ | ||||
| #include <device/device.h> | ||||
| #include <device/pci.h> | ||||
| #include <device/pci_ops.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <cpu/x86/mp.h> | ||||
|   | ||||
| @@ -12,7 +12,6 @@ | ||||
|  */ | ||||
|  | ||||
| #include <console/console.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <cpu/intel/hyperthreading.h> | ||||
| #include <device/device.h> | ||||
|   | ||||
| @@ -24,7 +24,7 @@ | ||||
| #else | ||||
| #include <arch/cbfs.h> | ||||
| #endif | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/intel/microcode.h> | ||||
| #include <rules.h> | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/intel/speedstep.h> | ||||
| #include "model_2065x.h" | ||||
|   | ||||
| @@ -16,7 +16,7 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <stdlib.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/intel/speedstep.h> | ||||
| #include "model_206ax.h" | ||||
|   | ||||
| @@ -40,7 +40,6 @@ | ||||
|  | ||||
| #include <stdint.h> | ||||
| #include <console/console.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/intel/l2_cache.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/msr.h> | ||||
|   | ||||
| @@ -21,7 +21,6 @@ | ||||
| #include <string.h> | ||||
| #include <device/device.h> | ||||
| #include <device/pci.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <cpu/x86/mtrr.h> | ||||
|   | ||||
| @@ -18,7 +18,6 @@ | ||||
| #include <cpu/x86/msr.h> | ||||
| #include <console/console.h> | ||||
| #include <stddef.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cbfs.h> | ||||
|  | ||||
|   | ||||
| @@ -33,7 +33,6 @@ | ||||
| #include <cpu/x86/mtrr.h> | ||||
| #include <cpu/x86/cache.h> | ||||
| #include <cpu/x86/lapic.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <arch/acpi.h> | ||||
| #include <memrange.h> | ||||
| #include <cpu/amd/mtrr.h> | ||||
|   | ||||
| @@ -14,8 +14,8 @@ | ||||
|  */ | ||||
|  | ||||
| #include <string.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <device/device.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <cpu/x86/name.h> | ||||
|  | ||||
| void fill_processor_name(char *processor_name) | ||||
|   | ||||
| @@ -16,7 +16,6 @@ | ||||
| #include <cbfs.h> | ||||
| #include <commonlib/helpers.h> | ||||
| #include <console/console.h> | ||||
| #include <cpu/cpu.h> | ||||
| #include <arch/cpu.h> | ||||
| #include <cpu/x86/cr.h> | ||||
| #include <cpu/x86/msr.h> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user