[U-Boot] [PATCH v2 01/11] riscv: Rename cpu/qemu to cpu/generic

Bin Meng bmeng.cn at gmail.com
Tue Jan 22 02:06:42 UTC 2019


On Fri, Jan 18, 2019 at 7:18 PM Anup Patel <Anup.Patel at wdc.com> 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 <anup.patel at wdc.com>
> Reviewed-by: Alexander Graf <agraf at suse.de>
> ---
>  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 <bmeng.cn at gmail.com>


More information about the U-Boot mailing list