sandbox: Add a build for VPL
authorSimon Glass <sjg@chromium.org>
Sat, 30 Apr 2022 06:56:54 +0000 (00:56 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 2 May 2022 13:58:13 +0000 (09:58 -0400)
commit9ae25b9ac9e295ecb50268fd926b220ad8f28e3b
treeca5463ed1dc027d711fd656b0c72ed5399d10f76
parent747093dd4089bdb2eccae90d7bccf33198e78eaa
sandbox: Add a build for VPL

Add an initial VPL build for sandbox. This includes the flow:

   TPL (with of-platdata) -> VPL -> SPL -> U-Boot

To run it:

   ./tpl/u-boot-tpl -D

The -D is needed to get the default device tree, which includes the serial
console info.

Add a Makefile check for OF_HOSTFILE which is the option that enables
devicetree control on sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/Kconfig
arch/sandbox/cpu/spl.c
arch/sandbox/dts/sandbox.dtsi
board/sandbox/MAINTAINERS
configs/sandbox_vpl_defconfig [new file with mode: 0644]
doc/arch/sandbox.rst