cpu: Add a RISC-V CPU driver
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:26 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:26 +0000 (09:56 +0800)
commit833508c05c1309624cd397dbea2714b723d58c35
treec1393f9b95f20d38e7c57dd7c14ab2aa7aaa55f9
parent27dc2c130e29093ba88630e8947d189641bda442
cpu: Add a RISC-V CPU driver

This adds a driver for RISC-V CPU. Note the driver will bind
a RISC-V timer driver if "timebase-frequency" property is
present in the device tree.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
drivers/cpu/Kconfig
drivers/cpu/Makefile
drivers/cpu/riscv_cpu.c [new file with mode: 0644]