Skip to content
Unverified Commit 2d268251 authored by Palmer Dabbelt's avatar Palmer Dabbelt
Browse files

riscv: Allow device trees to be built into the kernel



Some systems don't provide a useful device tree to the kernel on boot.
Chasing around bootloaders for these systems is a headache, so instead
le't's just keep a device tree table in the kernel, keyed by the SOC's
unique identifier, that contains the relevant DTB.

This is only implemented for M mode right now. While we could implement
this via the SBI calls that allow access to these identifiers, we don't
have any systems that need this right now.

Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
parent b9bbe6ed
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment