-
- Downloads
sandbox: Add CONFIG_OF_HOSTFILE to read FDT from host file
With sandbox it is tricky to add an FDT to the image at build time (or
later) since we build an ELF file, not a plain binary, and the address
space of the whole U-Boot is not accessible in the emulated memory map
of sandbox.
Sandbox can read files directly from the host, though, so add an option
to read an FDT from a host file on start-up.
Signed-off-by:
Simon Glass <sjg@chromium.org>
Showing
- arch/sandbox/cpu/start.c 7 additions, 0 deletionsarch/sandbox/cpu/start.c
- arch/sandbox/include/asm/state.h 1 addition, 0 deletionsarch/sandbox/include/asm/state.h
- common/board_f.c 55 additions, 0 deletionscommon/board_f.c
- doc/README.fdt-control 5 additions, 1 deletiondoc/README.fdt-control
- include/configs/sandbox.h 2 additions, 0 deletionsinclude/configs/sandbox.h
Loading
Please register or sign in to comment