aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-05 16:32:58 -0600
committerSimon Glass <sjg@chromium.org>2021-07-21 10:27:35 -0600
commit6b165ab2b7b1dc89357afbe86c1977addf5aed3b (patch)
treed8d29576a4de5ab1a011abdbd29d1d9d713a2e52 /arch
parent7d84fbb57312ac0224dc67860f4d0306a3bb3f81 (diff)
downloadu-boot-6b165ab2b7b1dc89357afbe86c1977addf5aed3b.zip
u-boot-6b165ab2b7b1dc89357afbe86c1977addf5aed3b.tar.gz
u-boot-6b165ab2b7b1dc89357afbe86c1977addf5aed3b.tar.bz2
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')
-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 d85bb46..0cee15a 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -819,6 +819,7 @@
mmc2 {
compatible = "sandbox,mmc";
+ non-removable;
};
mmc1 {