summaryrefslogtreecommitdiff
path: root/board/compulab
diff options
context:
space:
mode:
authorChristopher Spinrath <christopher.spinrath@rwth-aachen.de>2016-06-16 14:02:56 +0200
committerStefano Babic <sbabic@denx.de>2016-07-12 17:58:48 +0200
commitc133c503ac9e037ccbc1b7a37c07c4068b32d802 (patch)
tree9dde84618566416f32959e6e6fd2653eac9aa18d /board/compulab
parentc1ebf54868359005c32944c1473668d5fcaca158 (diff)
downloadu-boot-imx-c133c503ac9e037ccbc1b7a37c07c4068b32d802.zip
u-boot-imx-c133c503ac9e037ccbc1b7a37c07c4068b32d802.tar.gz
u-boot-imx-c133c503ac9e037ccbc1b7a37c07c4068b32d802.tar.bz2
ARM: board: cm-fx6: fix mmc for old revisions of utilite
Old revisions of Utilite (based on cm-fx6) do not have a dedicated card detect pin. But the card is removable by the user and card detection can be realized with polling (e.g. supported by Linux). Add the broken-cd property to the mmc device tree instead of the non-removable property to make card detection possible if polling is supported. Signed-off-by: Christopher Spinrath <christopher.spinrath@rwth-aachen.de> Acked-by: Nikita Kiryanov <nikita@compulab.co.il>
Diffstat (limited to 'board/compulab')
-rw-r--r--board/compulab/cm_fx6/cm_fx6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/compulab/cm_fx6/cm_fx6.c b/board/compulab/cm_fx6/cm_fx6.c
index a21e7b0..712057a 100644
--- a/board/compulab/cm_fx6/cm_fx6.c
+++ b/board/compulab/cm_fx6/cm_fx6.c
@@ -610,7 +610,7 @@ int ft_board_setup(void *blob, bd_t *bd)
fdt_shrink_to_minimum(blob); /* Make room for new properties */
nodeoffset = fdt_path_offset(blob, USDHC3_PATH);
fdt_delprop(blob, nodeoffset, "cd-gpios");
- fdt_find_and_setprop(blob, USDHC3_PATH, "non-removable",
+ fdt_find_and_setprop(blob, USDHC3_PATH, "broken-cd",
NULL, 0, 1);
fdt_find_and_setprop(blob, USDHC3_PATH, "keep-power-in-suspend",
NULL, 0, 1);