cmd_fat: use common get_device_and_partition function
authorRob Herring <rob.herring@calxeda.com>
Thu, 23 Aug 2012 11:31:47 +0000 (11:31 +0000)
committerTom Rini <trini@ti.com>
Tue, 25 Sep 2012 21:46:57 +0000 (14:46 -0700)
commitcfda5aeab89d73779e26f0d34cf10f64caa67431
tree8b99e88dd9291f3a3d32aee72de363433b3d3724
parent81180819b842602f29f325298ee3e522beda3e0a
cmd_fat: use common get_device_and_partition function

Convert fatload, fatls, and fatinfo to use common device and partition
parsing function. With the common function "dev:part" can come from the
environment and a '-' can be used in that case.

Signed-off-by: Rob Herring <rob.herring@calxeda.com>
common/cmd_fat.c