]> git.ipfire.org Git - thirdparty/u-boot.git/commit
bootstd: sandbox: Add a hostfs bootdev
authorSimon Glass <sjg@chromium.org>
Mon, 25 Apr 2022 05:31:21 +0000 (23:31 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 25 Apr 2022 14:00:04 +0000 (10:00 -0400)
commit7d0478d241703b50e88736f3774deb5472418b58
treef068eb27d2e817d15f611255e6ba8362899ce1d4
parent126947b77321418127274f3102e7988225a780b7
bootstd: sandbox: Add a hostfs bootdev

It is helpful to be able to try out bootstd on sandbox, using host files.
This is easier than using a block device, which must have a filesystem,
partition table, etc.

Add a new driver which provides this feature. For now it is not used in
tests, but it is likely to be useful.

Add notes in the devicetree also, but don't disturb the tests.

Signed-off-by: Simon Glass <sjg@chromium.org>
arch/sandbox/dts/sandbox.dts
arch/sandbox/dts/sandbox.dtsi
fs/Kconfig
fs/sandbox/Kconfig [new file with mode: 0644]
fs/sandbox/Makefile
fs/sandbox/host_bootdev.c [new file with mode: 0644]