summaryrefslogtreecommitdiff
path: root/lib/fdtdec.c
diff options
context:
space:
mode:
authorPeter Korsgaard <peter.korsgaard@barco.com>2013-03-21 04:00:03 +0000
committerTom Rini <trini@ti.com>2013-03-24 12:49:12 -0400
commitd4e1da4e093d156d30bd08c90ec2e733d50904a2 (patch)
tree370228f415d29539924f051d3c5732d931ae0c24 /lib/fdtdec.c
parentbd380cf4cf9ae5b970f09784a90132bee80ee5d0 (diff)
downloadu-boot-imx-d4e1da4e093d156d30bd08c90ec2e733d50904a2.zip
u-boot-imx-d4e1da4e093d156d30bd08c90ec2e733d50904a2.tar.gz
u-boot-imx-d4e1da4e093d156d30bd08c90ec2e733d50904a2.tar.bz2
mmc: mmc_getcd/getwp: use sensible defaults
Let mmc_getcd() return true and mmc_getwp() false if mmc driver doesn't provide handlers for them. Signed-off-by: Peter Korsgaard <peter.korsgaard@barco.com> [trini: Add braces around first if test in each case to fix warning] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'lib/fdtdec.c')
0 files changed, 0 insertions, 0 deletions