]> git.baikalelectronics.ru Git - uboot.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)
commit2d97e2bba74244b9b6e180a4c2209076a91bc1db
treef068eb27d2e817d15f611255e6ba8362899ce1d4
parent406c68411d628ee15fab7a3f25d31b0348ec4a84
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]