aboutsummaryrefslogtreecommitdiff
path: root/include/hw/riscv/spike.h
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2019-09-20 22:41:30 -0700
committerPalmer Dabbelt <palmer@sifive.com>2019-10-28 07:47:27 -0700
commit7ae05377b85fff9d4f68271fc415a43018836b4b (patch)
tree2657a37fbcaf0ce8b3fa7430194d334aaf8c2518 /include/hw/riscv/spike.h
parent37207e12245e0c5737a20b736b66b257ecf75d02 (diff)
downloadqemu-7ae05377b85fff9d4f68271fc415a43018836b4b.zip
qemu-7ae05377b85fff9d4f68271fc415a43018836b4b.tar.gz
qemu-7ae05377b85fff9d4f68271fc415a43018836b4b.tar.bz2
riscv: hw: Drop "clock-frequency" property of cpu nodes
The "clock-frequency" property of cpu nodes isn't required. Drop it. This is to keep in sync with Linux kernel commit below: https://patchwork.kernel.org/patch/11133031/ Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'include/hw/riscv/spike.h')
-rw-r--r--include/hw/riscv/spike.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/riscv/spike.h b/include/hw/riscv/spike.h
index 03d8703..dc77042 100644
--- a/include/hw/riscv/spike.h
+++ b/include/hw/riscv/spike.h
@@ -38,10 +38,6 @@ enum {
SPIKE_DRAM
};
-enum {
- SPIKE_CLOCK_FREQ = 1000000000
-};
-
#if defined(TARGET_RISCV32)
#define SPIKE_V1_09_1_CPU TYPE_RISCV_CPU_RV32GCSU_V1_09_1
#define SPIKE_V1_10_0_CPU TYPE_RISCV_CPU_RV32GCSU_V1_10_0