device: allow devicetree accesses in postcar stage
Change-Id: Ib6f8ee937c4f3d8e2c0ff3851a819077fa499ccc Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/19334 Reviewed-by: Duncan Laurie <dlaurie@chromium.org> Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com> Tested-by: build bot (Jenkins) Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
		@@ -526,6 +526,7 @@ ramstage-y+=$(DEVICETREE_STATIC_C)
 | 
				
			|||||||
romstage-y+=$(DEVICETREE_STATIC_C)
 | 
					romstage-y+=$(DEVICETREE_STATIC_C)
 | 
				
			||||||
verstage-y+=$(DEVICETREE_STATIC_C)
 | 
					verstage-y+=$(DEVICETREE_STATIC_C)
 | 
				
			||||||
bootblock-y+=$(DEVICETREE_STATIC_C)
 | 
					bootblock-y+=$(DEVICETREE_STATIC_C)
 | 
				
			||||||
 | 
					postcar-y+=$(DEVICETREE_STATIC_C)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#######################################################################
 | 
					#######################################################################
 | 
				
			||||||
# Clean up rules
 | 
					# Clean up rules
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -21,6 +21,7 @@ ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
 | 
				
			|||||||
endif
 | 
					endif
 | 
				
			||||||
 | 
					
 | 
				
			||||||
bootblock-y += device_simple.c
 | 
					bootblock-y += device_simple.c
 | 
				
			||||||
 | 
					postcar-y += device_simple.c
 | 
				
			||||||
verstage-y += device_simple.c
 | 
					verstage-y += device_simple.c
 | 
				
			||||||
romstage-y += device_simple.c
 | 
					romstage-y += device_simple.c
 | 
				
			||||||
romstage-$(CONFIG_PCI) += pci_early.c
 | 
					romstage-$(CONFIG_PCI) += pci_early.c
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user