summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2019-08-24 01:26:48 -0500
committerPatrick Georgi <pgeorgi@google.com>2019-09-02 06:41:04 +0000
commit5b549f3770ff6b1fe11aef5341c4275edf4bbc60 (patch)
treef8d12832b0936e648f72376273477e109412e285
parent9f38be89f6d2d9ebf1afc133ebacf28311efa512 (diff)
downloadcoreboot-5b549f3770ff6b1fe11aef5341c4275edf4bbc60.tar.xz
arch/ppc64: move misc.c to qemu-power8 as timer.c
Its entirely no-op and is getting in the way of real hardware timers for power9/talos ii. Change-Id: I2d21d4ac3d1a7d3f099ed6ec4faf10079b1ee1d1 Signed-off-by: Marty E. Plummer <hanetzer@startmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35082 Reviewed-by: Timothy Pearson <tpearson@raptorengineering.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/arch/ppc64/Makefile.inc1
-rw-r--r--src/mainboard/emulation/qemu-power8/Makefile.inc1
-rw-r--r--src/mainboard/emulation/qemu-power8/timer.c (renamed from src/arch/ppc64/misc.c)0
3 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/ppc64/Makefile.inc b/src/arch/ppc64/Makefile.inc
index ac993d73e6..fae4c926b7 100644
--- a/src/arch/ppc64/Makefile.inc
+++ b/src/arch/ppc64/Makefile.inc
@@ -77,7 +77,6 @@ ifeq ($(CONFIG_ARCH_RAMSTAGE_PPC64),y)
ramstage-y += rom_media.c
ramstage-y += stages.c
-ramstage-y += misc.c
ramstage-y += boot.c
ramstage-y += tables.c
ramstage-y += \
diff --git a/src/mainboard/emulation/qemu-power8/Makefile.inc b/src/mainboard/emulation/qemu-power8/Makefile.inc
index db005bbab8..5c6c56e5de 100644
--- a/src/mainboard/emulation/qemu-power8/Makefile.inc
+++ b/src/mainboard/emulation/qemu-power8/Makefile.inc
@@ -17,6 +17,7 @@ bootblock-y += uart.c
romstage-y += cbmem.c
ramstage-y += cbmem.c
romstage-y += romstage.c
+ramstage-y += timer.c
romstage-y += uart.c
ramstage-y += uart.c
diff --git a/src/arch/ppc64/misc.c b/src/mainboard/emulation/qemu-power8/timer.c
index 65b8ecf02f..65b8ecf02f 100644
--- a/src/arch/ppc64/misc.c
+++ b/src/mainboard/emulation/qemu-power8/timer.c