aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-10-23 17:25:59 -0600
committerSimon Glass <sjg@chromium.org>2021-11-28 16:51:51 -0700
commit0bf61aced283a4ec256f1d8fe919e8890da2191c (patch)
tree43039f82ef8bc930c20551ffad78327de6e019f0 /doc
parenta0ff280a8988dd62c8dc9a3156f6f80a346000e5 (diff)
downloadu-boot-0bf61aced283a4ec256f1d8fe919e8890da2191c.zip
u-boot-0bf61aced283a4ec256f1d8fe919e8890da2191c.tar.gz
u-boot-0bf61aced283a4ec256f1d8fe919e8890da2191c.tar.bz2
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')
-rw-r--r--doc/device-tree-bindings/mmc/sandbox,mmc.txt18
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 0000000..1170bcd
--- /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;
+};