forked from Minki/linux
b31297f04e
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>
15 lines
296 B
C
15 lines
296 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
|
|
#ifndef __UML_ARCH_H__
|
|
#define __UML_ARCH_H__
|
|
|
|
extern void * __init uml_load_file(const char *filename, unsigned long long *size);
|
|
|
|
#ifdef CONFIG_OF
|
|
extern void __init uml_dtb_init(void);
|
|
#else
|
|
static inline void uml_dtb_init(void) { }
|
|
#endif
|
|
|
|
#endif
|