nb/intel/x4x: Move to C_ENVIRONMENT_BOOTBLOCK
There is some overlap between things done in bootblock and romstage like setting BARs. Change-Id: Icd1de34c3b5c0f36f2a5249116d1829ee3956f38 Signed-off-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-on: https://review.coreboot.org/c/coreboot/+/36759 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
		
				
					committed by
					
						 Patrick Georgi
						Patrick Georgi
					
				
			
			
				
	
			
			
			
						parent
						
							c583920a74
						
					
				
				
					commit
					7843bd560e
				
			| @@ -19,6 +19,10 @@ config DCACHE_RAM_SIZE | ||||
| 	hex | ||||
| 	default 0x4000 # 16 kB | ||||
|  | ||||
| config DCACHE_BSP_STACK_SIZE | ||||
| 	hex | ||||
| 	default 0x2000 | ||||
|  | ||||
| config DCACHE_RAM_BASE | ||||
| 	hex | ||||
| 	default 0xfeffc000 # 4GB - 16MB - DCACHE_RAM_SIZE | ||||
|   | ||||
| @@ -13,7 +13,14 @@ subdirs-y += ../microcode | ||||
| subdirs-y += ../hyperthreading | ||||
| subdirs-y += ../speedstep | ||||
|  | ||||
| ifneq ($(CONFIG_C_ENVIRONMENT_BOOTBLOCK),y) | ||||
| cpu_incs-y += $(src)/cpu/intel/car/p4-netburst/cache_as_ram.S | ||||
| else | ||||
| bootblock-y += ../car/p4-netburst/cache_as_ram.S | ||||
| bootblock-y += ../car/bootblock.c | ||||
| bootblock-y += ../../x86/early_reset.S | ||||
| endif | ||||
|  | ||||
| postcar-y += ../car/p4-netburst/exit_car.S | ||||
|  | ||||
| romstage-y += ../car/romstage.c | ||||
|   | ||||
		Reference in New Issue
	
	Block a user