aboutsummaryrefslogtreecommitdiff
path: root/bbl/bbl.c
diff options
context:
space:
mode:
authorWesley W. Terpstra <wesley@sifive.com>2017-04-05 16:27:19 -0700
committerWesley W. Terpstra <wesley@sifive.com>2017-04-05 17:25:21 -0700
commit8b4421bacba28f97da2ddeb6a6fba9e184e91bee (patch)
treed4d3cad1671503a47ae6e56821da8e69f2793da0 /bbl/bbl.c
parent91636ac4639a7993c485288d34f1c8e22b1980b4 (diff)
downloadriscv-pk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.zip
riscv-pk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.tar.gz
riscv-pk-8b4421bacba28f97da2ddeb6a6fba9e184e91bee.tar.bz2
bbl: prevent named cores from booting
Diffstat (limited to 'bbl/bbl.c')
-rw-r--r--bbl/bbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bbl/bbl.c b/bbl/bbl.c
index 44802c1..f64b2e7 100644
--- a/bbl/bbl.c
+++ b/bbl/bbl.c
@@ -23,7 +23,7 @@ static void filter_dtb(uintptr_t source)
memcpy((void*)dest, (void*)source, size);
// Remove information from the chained FDT
- // filter_harts(dest, 0x2);
+ filter_harts(dest, HART_MASK);
filter_plic(dest);
filter_compat(dest, "riscv,clint0");
filter_compat(dest, "riscv,debug-013");