summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorBin Meng2020-09-03 12:40:14 +0200
committerAlistair Francis2020-09-10 00:54:19 +0200
commit0fa9e329454aaccc6dbb6a4f52ad0c88a060a3b6 (patch)
tree2e1a7c7e45eff69893f38bc9cb7448385b5a21b9 /include/hw
parenthw/riscv: Move sifive_u_prci model to hw/misc (diff)
downloadqemu-0fa9e329454aaccc6dbb6a4f52ad0c88a060a3b6.tar.gz
qemu-0fa9e329454aaccc6dbb6a4f52ad0c88a060a3b6.tar.xz
qemu-0fa9e329454aaccc6dbb6a4f52ad0c88a060a3b6.zip
hw/riscv: Move sifive_u_otp model to hw/misc
This is an effort to clean up the hw/riscv directory. Ideally it should only contain the RISC-V SoC / machine codes plus generic codes. Let's move sifive_u_otp model to hw/misc directory. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <1599129623-68957-4-git-send-email-bmeng.cn@gmail.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/misc/sifive_u_otp.h (renamed from include/hw/riscv/sifive_u_otp.h)0
-rw-r--r--include/hw/riscv/sifive_u.h2
2 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/riscv/sifive_u_otp.h b/include/hw/misc/sifive_u_otp.h
index 639297564a..639297564a 100644
--- a/include/hw/riscv/sifive_u_otp.h
+++ b/include/hw/misc/sifive_u_otp.h
diff --git a/include/hw/riscv/sifive_u.h b/include/hw/riscv/sifive_u.h
index cbeb2286d7..936a3bd0b1 100644
--- a/include/hw/riscv/sifive_u.h
+++ b/include/hw/riscv/sifive_u.h
@@ -24,7 +24,7 @@
#include "hw/riscv/riscv_hart.h"
#include "hw/riscv/sifive_cpu.h"
#include "hw/riscv/sifive_gpio.h"
-#include "hw/riscv/sifive_u_otp.h"
+#include "hw/misc/sifive_u_otp.h"
#include "hw/misc/sifive_u_prci.h"
#define TYPE_RISCV_U_SOC "riscv.sifive.u.soc"