aboutsummaryrefslogtreecommitdiff
path: root/bbl
diff options
context:
space:
mode:
Diffstat (limited to 'bbl')
-rw-r--r--bbl/bbl.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bbl/bbl.c b/bbl/bbl.c
index 300182c..44802c1 100644
--- a/bbl/bbl.c
+++ b/bbl/bbl.c
@@ -21,6 +21,12 @@ static void filter_dtb(uintptr_t source)
uintptr_t dest = dtb_output();
uint32_t size = fdt_size(source);
memcpy((void*)dest, (void*)source, size);
+
+ // Remove information from the chained FDT
+ // filter_harts(dest, 0x2);
+ filter_plic(dest);
+ filter_compat(dest, "riscv,clint0");
+ filter_compat(dest, "riscv,debug-013");
}
void boot_other_hart(uintptr_t dtb)