fsl_esdhc: Add device tree fixups
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 9 Jun 2009 20:25:29 +0000 (00:25 +0400)
committerWolfgang Denk <wd@denx.de>
Thu, 16 Jul 2009 20:24:06 +0000 (22:24 +0200)
commitb33433a63fe08c9e723ea15a7c7c7143bf527c6d
treeec16d0a8649862b41c26fcc07374350e53077a5d
parent93f9dcf9e8b8182e97aeb7965c687176cbd0b933
fsl_esdhc: Add device tree fixups

This patch implements fdt_fixup_esdhc() function that is used to fixup
the device tree.

The function adds status = "disabled" propery if esdhc pins muxed away,
otherwise it fixups clock-frequency for esdhc nodes.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Kim Phillips <kim.phillips@freescale.com>
drivers/mmc/fsl_esdhc.c
include/fsl_esdhc.h