diff options
| author | Bin Meng | 2019-09-06 18:20:18 +0200 |
|---|---|---|
| committer | Palmer Dabbelt | 2019-09-17 17:42:49 +0200 |
| commit | 81e94379f75c40b77d577c6bff2d7e23c9904ccf (patch) | |
| tree | 64efbcc3a5751e0897174046d5feb5ce1bb7c8e4 /include | |
| parent | riscv: sifive_u: Fix broken GEM support (diff) | |
| download | qemu-81e94379f75c40b77d577c6bff2d7e23c9904ccf.tar.gz qemu-81e94379f75c40b77d577c6bff2d7e23c9904ccf.tar.xz qemu-81e94379f75c40b77d577c6bff2d7e23c9904ccf.zip | |
riscv: sifive_u: Remove handcrafted clock nodes for UART and ethernet
In the past we did not have a model for PRCI, hence two handcrafted
clock nodes ("/soc/ethclk" and "/soc/uartclk") were created for the
purpose of supplying hard-coded clock frequencies. But now since we
have added the PRCI support in QEMU, we don't need them any more.
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')
| -rw-r--r-- | include/hw/riscv/sifive_u.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/hw/riscv/sifive_u.h b/include/hw/riscv/sifive_u.h index 5270851aa2..e4df298c23 100644 --- a/include/hw/riscv/sifive_u.h +++ b/include/hw/riscv/sifive_u.h @@ -77,8 +77,7 @@ enum { enum { SIFIVE_U_CLOCK_FREQ = 1000000000, SIFIVE_U_HFCLK_FREQ = 33333333, - SIFIVE_U_RTCCLK_FREQ = 1000000, - SIFIVE_U_GEM_CLOCK_FREQ = 125000000 + SIFIVE_U_RTCCLK_FREQ = 1000000 }; #define SIFIVE_U_MANAGEMENT_CPU_COUNT 1 |
