riscv: Do some basic architecture level cpu initialization
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:40 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:27 +0000 (09:56 +0800)
commit485e822346caa982a5c17b7b136b17e8d09dafee
tree39c3ea6471f14e586c342ac78468958b3e25f0a9
parent57fe5c64cb078c25c81cf40b5b268dc6857dc00c
riscv: Do some basic architecture level cpu initialization

In arch_cpu_init_dm() do some basic architecture level cpu
initialization, like FPU enable, etc.

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>
arch/riscv/cpu/cpu.c