diff options
author | Simon Glass <sjg@chromium.org> | 2021-10-23 17:25:59 -0600 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-11-28 16:51:51 -0700 |
commit | 0bf61aced283a4ec256f1d8fe919e8890da2191c (patch) | |
tree | 43039f82ef8bc930c20551ffad78327de6e019f0 /doc/device-tree-bindings/mmc | |
parent | a0ff280a8988dd62c8dc9a3156f6f80a346000e5 (diff) | |
download | u-boot-0bf61aced283a4ec256f1d8fe919e8890da2191c.tar.gz |
sandbox: mmc: Support a backing file
Provide a way for sandbox MMC to present data from a backing file. This
allows a filesystem to be created on the host and easily served via an
emulated mmc device.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'doc/device-tree-bindings/mmc')
-rw-r--r-- | doc/device-tree-bindings/mmc/sandbox,mmc.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/mmc/sandbox,mmc.txt b/doc/device-tree-bindings/mmc/sandbox,mmc.txt new file mode 100644 index 00000000000..1170bcd6a00 --- /dev/null +++ b/doc/device-tree-bindings/mmc/sandbox,mmc.txt @@ -0,0 +1,18 @@ +Sandbox MMC +=========== + +Required properties: +- compatible : "sandbox,mmc" + +Optional properties: +- filename : Name of backing file, if any. This is mapped into the MMC device + so can be used to provide a filesystem or other test data + + +Example +------- + +mmc2 { + compatible = "sandbox,mmc"; + non-removable; +}; |