Skip to content
Commit b6b233dd authored by Sagar Shrikant Kadam's avatar Sagar Shrikant Kadam Committed by Andes
Browse files

riscv: cpu: correctly handle the setting of CPU_FEAT_MMU bit



The conditional check to read "mmu-type" from the device tree
is not rightly handled due to which the cpu feature doesn't include
CPU_FEAT_MMU even if it's corresponding entry is present in the device
tree.

The initialization of cpu features is now taken care in cpu-uclass
driver, so no need to zero out cpu_freq in riscv_cpu driver and can be
removed.

Signed-off-by: default avatarSagar Shrikant Kadam <sagar.kadam@sifive.com>
Reviewed-by: default avatarPragnesh Patel <pragnesh.patel@sifive.com>
Reviewed-by: default avatarBin Meng <bin.meng@windriver.com>
parent 969251a5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment