]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
sandbox: Add CONFIG_OF_HOSTFILE to read FDT from host file
authorSimon Glass <sjg@chromium.org>
Sat, 20 Apr 2013 08:42:41 +0000 (08:42 +0000)
committerTom Rini <trini@ti.com>
Wed, 1 May 2013 15:17:21 +0000 (11:17 -0400)
commitf828bf25fe02f0d7148a9180988ab4d5681b8195
tree99c43aaf2246ec97b15ebb2f0603bfd7d2474d08
parenta733b06b69d2cb058c4363952bc0793b1f514305
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>
arch/sandbox/cpu/start.c
arch/sandbox/include/asm/state.h
common/board_f.c
doc/README.fdt-control
include/configs/sandbox.h