target/riscv: Don't set PMP feature in the cpu init
commitff832b77aa8ab454e092fb73b61821e56218e8a5
authorAlistair Francis <alistair.francis@wdc.com>
Thu, 28 May 2020 18:04:15 +0000 (28 11:04 -0700)
committerAlistair Francis <alistair.francis@wdc.com>
Wed, 3 Jun 2020 16:11:51 +0000 (3 09:11 -0700)
tree129f01c7196fcb069ad36945ee479ca70e489bf4
parent8be6971b73da45e8ee9f8decd136ff054b5230ac
target/riscv: Don't set PMP feature in the cpu init

The PMP is enabled by default via the "pmp" property so there is no need
for us to set it in the init function. As all CPUs have PMP support just
remove the set_feature() call in the CPU init functions.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Bin Meng <bin.meng@windriver.com>
target/riscv/cpu.c