device: Rename device_simple.c --> device_const.c
In early stages (pre ramstage), we have two notions of devices. To access the hardware, "simple device" handles are used. These are plain numbers. To access the static information of the device tree, we use `struct device` pointers. This is referred to as DEVTREE_EARLY in the code. This file is about the latter and its name reflects that the tree remains unmodified. Change-Id: I31aeb118615e86026f7111f83a7866d4e7426170 Signed-off-by: Nico Huber <nico.huber@secunet.com> Reviewed-on: https://review.coreboot.org/26293 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
160fbe5cc2
commit
81ec9c0500
|
@ -21,12 +21,12 @@ ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
|
||||||
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
|
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
|
||||||
endif
|
endif
|
||||||
|
|
||||||
bootblock-y += device_simple.c
|
bootblock-y += device_const.c
|
||||||
postcar-y += device_simple.c
|
postcar-y += device_const.c
|
||||||
smm-y += device_simple.c
|
smm-y += device_const.c
|
||||||
verstage-y += device_simple.c
|
verstage-y += device_const.c
|
||||||
romstage-y += device_simple.c
|
romstage-y += device_const.c
|
||||||
ramstage-y += device_simple.c
|
ramstage-y += device_const.c
|
||||||
romstage-$(CONFIG_PCI) += pci_early.c
|
romstage-$(CONFIG_PCI) += pci_early.c
|
||||||
|
|
||||||
subdirs-y += oprom dram
|
subdirs-y += oprom dram
|
||||||
|
|
Loading…
Reference in New Issue