summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNico Huber <nico.huber@secunet.com>2018-05-15 14:09:37 +0200
committerKyösti Mälkki <kyosti.malkki@gmail.com>2018-05-25 02:43:24 +0000
commit81ec9c0500e4b53440579ffad0011a6b077b6bdb (patch)
tree1a7da8e72c0e620b3aae3f1a75a3e51a1ec6d41e /src
parent160fbe5cc2c80031cdfbea59b6a51d76045143e2 (diff)
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>
Diffstat (limited to 'src')
-rw-r--r--src/device/Makefile.inc12
-rw-r--r--src/device/device_const.c (renamed from src/device/device_simple.c)0
2 files changed, 6 insertions, 6 deletions
diff --git a/src/device/Makefile.inc b/src/device/Makefile.inc
index e86aa2cdfd..05dbe742fb 100644
--- a/src/device/Makefile.inc
+++ b/src/device/Makefile.inc
@@ -21,12 +21,12 @@ ifeq ($(CONFIG_AZALIA_PLUGIN_SUPPORT),y)
ramstage-srcs += src/mainboard/$(MAINBOARDDIR)/hda_verb.c
endif
-bootblock-y += device_simple.c
-postcar-y += device_simple.c
-smm-y += device_simple.c
-verstage-y += device_simple.c
-romstage-y += device_simple.c
-ramstage-y += device_simple.c
+bootblock-y += device_const.c
+postcar-y += device_const.c
+smm-y += device_const.c
+verstage-y += device_const.c
+romstage-y += device_const.c
+ramstage-y += device_const.c
romstage-$(CONFIG_PCI) += pci_early.c
subdirs-y += oprom dram
diff --git a/src/device/device_simple.c b/src/device/device_const.c
index 2cacb4a9ac..2cacb4a9ac 100644
--- a/src/device/device_simple.c
+++ b/src/device/device_const.c