On Fri, Jan 18, 2019 at 7:18 PM Anup Patel <[email protected]> wrote: > > The QEMU CPU support under arch/riscv is pretty much generic > and works fine for SiFive Unleashed as well. In fact, there > will be quite a few RISC-V SOCs for which QEMU CPU support > will work fine. > > This patch renames cpu/qemu to cpu/generic to indicate the > above fact. If there are SOC specific errata workarounds > required in cpu/generic then those can be done at runtime > in cpu/generic based on CPU vendor specific DT compatible > string. > > Signed-off-by: Anup Patel <[email protected]> > Reviewed-by: Alexander Graf <[email protected]> > --- > arch/riscv/Kconfig | 2 +- > arch/riscv/cpu/{qemu => generic}/Kconfig | 2 +- > arch/riscv/cpu/{qemu => generic}/Makefile | 0 > arch/riscv/cpu/{qemu => generic}/cpu.c | 0 > arch/riscv/cpu/{qemu => generic}/dram.c | 0 > board/emulation/qemu-riscv/Kconfig | 4 ++-- > 6 files changed, 4 insertions(+), 4 deletions(-) > rename arch/riscv/cpu/{qemu => generic}/Kconfig (91%) > rename arch/riscv/cpu/{qemu => generic}/Makefile (100%) > rename arch/riscv/cpu/{qemu => generic}/cpu.c (100%) > rename arch/riscv/cpu/{qemu => generic}/dram.c (100%) >
Reviewed-by: Bin Meng <[email protected]> _______________________________________________ U-Boot mailing list [email protected] https://lists.denx.de/listinfo/u-boot

