[Skiboot] [PATCH 2/2] vas: Move core/vas.c -> hw/vas.c

Michael Neuling mikey at neuling.org
Mon Aug 21 17:16:07 AEST 2017


It's hardware after all...

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 core/Makefile.inc  | 1 -
 hw/Makefile.inc    | 2 +-
 {core => hw}/vas.c | 0
 3 files changed, 1 insertion(+), 2 deletions(-)
 rename {core => hw}/vas.c (100%)

diff --git a/core/Makefile.inc b/core/Makefile.inc
index c343386cf9..f2de2f646e 100644
--- a/core/Makefile.inc
+++ b/core/Makefile.inc
@@ -9,7 +9,6 @@ CORE_OBJS += vpd.o hostservices.o platform.o nvram.o nvram-format.o hmi.o
 CORE_OBJS += console-log.o ipmi.o time-utils.o pel.o pool.o errorlog.o
 CORE_OBJS += timer.o i2c.o rtc.o flash.o sensor.o ipmi-opal.o
 CORE_OBJS += flash-subpartition.o bitmap.o buddy.o pci-quirk.o powercap.o psr.o
-CORE_OBJS += vas.o
 
 ifeq ($(SKIBOOT_GCOV),1)
 CORE_OBJS += gcov-profiling.o
diff --git a/hw/Makefile.inc b/hw/Makefile.inc
index 40be37f5b4..04cacd12c4 100644
--- a/hw/Makefile.inc
+++ b/hw/Makefile.inc
@@ -7,7 +7,7 @@ HW_OBJS += p7ioc.o p7ioc-inits.o p7ioc-phb.o
 HW_OBJS += phb3.o sfc-ctrl.o fake-rtc.o bt.o p8-i2c.o prd.o
 HW_OBJS += dts.o lpc-rtc.o npu.o npu-hw-procedures.o xive.o phb4.o
 HW_OBJS += fake-nvram.o lpc-mbox.o npu2.o npu2-hw-procedures.o
-HW_OBJS += phys-map.o sbe-p9.o capp.o occ-sensor.o
+HW_OBJS += phys-map.o sbe-p9.o capp.o occ-sensor.o vas.o
 HW=hw/built-in.o
 
 # FIXME hack this for now
diff --git a/core/vas.c b/hw/vas.c
similarity index 100%
rename from core/vas.c
rename to hw/vas.c
-- 
2.11.0



More information about the Skiboot mailing list