aboutsummaryrefslogtreecommitdiff
path: root/arch/um/kernel/um_arch.h
AgeCommit message (Collapse)AuthorFilesLines
2021-12-22um: Add devicetree supportVincent Whitchurch1-0/+6
Add a dtb=<filename> option to boot UML with a devicetree blob. This can be used for testing driver code using UML. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> [rw: Add dependency on CONFIG_OF] Signed-off-by: Richard Weinberger <richard@nod.at>
2021-12-22um: Extract load file helper from initrd.cVincent Whitchurch1-0/+8
The file loading support in initrd.c can be re-used for loading devicetrees. Move it out of initrd.c. Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com> Signed-off-by: Richard Weinberger <richard@nod.at>