From def2f01eee49aa639c6e393d161687998cd64c4e Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Fri, 30 Oct 2020 15:28:04 -0700 Subject: Revert "Disable device tree filter when load a dts from file (#217)" This reverts commit a161e6f3ef31004e47a5b94b85c2e84b764f8637. Resolves #218 --- bbl/bbl.c | 2 -- bbl/bbl.lds | 1 - 2 files changed, 3 deletions(-) (limited to 'bbl') diff --git a/bbl/bbl.c b/bbl/bbl.c index 8e29801..3b92fc1 100644 --- a/bbl/bbl.c +++ b/bbl/bbl.c @@ -41,13 +41,11 @@ static void filter_dtb(uintptr_t source) uint32_t size = fdt_size(source); memcpy((void*)dest, (void*)source, size); -#ifndef MACHINE_DTS // Remove information from the chained FDT filter_harts(dest, &disabled_hart_mask); filter_plic(dest); filter_compat(dest, "riscv,clint0"); filter_compat(dest, "riscv,debug-013"); -#endif } static void protect_memory(void) diff --git a/bbl/bbl.lds b/bbl/bbl.lds index 9d51f1d..624f691 100644 --- a/bbl/bbl.lds +++ b/bbl/bbl.lds @@ -67,7 +67,6 @@ SECTIONS *(.srodata*) *(.gnu.linkonce.d.*) *(.comment) - *(.dtb) } /* End of initialized data segment */ -- cgit v1.1