summaryrefslogtreecommitdiffstats
path: root/fs/ext4
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2012-09-21 04:08:17 +0000
committerTom Rini <trini@ti.com>2012-09-25 14:44:40 -0700
commit99d2c205d4a151faf5f9a406316b9dd960f43475 (patch)
tree8c25f66afa7eae3879f134ff8bc8bdd62fc22203 /fs/ext4
parent40e0e5686accd2f7ae7fd81297620d0e132624d9 (diff)
downloadtalos-obmc-uboot-99d2c205d4a151faf5f9a406316b9dd960f43475.tar.gz
talos-obmc-uboot-99d2c205d4a151faf5f9a406316b9dd960f43475.zip
disk/part: introduce get_device_and_partition
All block device related commands (scsiboot, fatload, ext2ls, etc.) have simliar duplicated device and partition parsing and selection code. This adds a common function to replace various implementations. The new function has an enhancement over current versions. If no device or partition is specified on the command line, the bootdevice env variable will be used (scsiboot does this). Signed-off-by: Rob Herring <rob.herring@calxeda.com>
Diffstat (limited to 'fs/ext4')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud