summaryrefslogtreecommitdiff
path: root/arch/sandbox
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-06 01:32:58 +0300
committerSimon Glass <sjg@chromium.org>2021-07-21 19:27:35 +0300
commit6b165ab2b7b1dc89357afbe86c1977addf5aed3b (patch)
treed8d29576a4de5ab1a011abdbd29d1d9d713a2e52 /arch/sandbox
parent7d84fbb57312ac0224dc67860f4d0306a3bb3f81 (diff)
downloadu-boot-6b165ab2b7b1dc89357afbe86c1977addf5aed3b.tar.xz
sandbox: mmc: Support fixed MMC devices
Add support for reading devicetree flags for MMC devices. With this we can distinguish between fixed and removable drives. Note that this information is only available when the device is probed, not when it is bound, since it is read in the of_to_plat() method. This could be changed if needed later. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
Diffstat (limited to 'arch/sandbox')
-rw-r--r--arch/sandbox/dts/test.dts1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index d85bb46ceb..0cee15a0ea 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -819,6 +819,7 @@
mmc2 {
compatible = "sandbox,mmc";
+ non-removable;
};
mmc1 {