diff options
author | Stephen Warren | 2012-09-21 09:50:56 +0000 |
---|---|---|
committer | Tom Rini | 2012-09-25 14:49:33 -0700 |
commit | 2023e60861283ee808950a558e14b45be8776bf4 (patch) | |
tree | a8ddbbf0fdfd51fb59f26f460626eaa44d584a05 /common/cmd_disk.c | |
parent | 650f36641ccfe1c2444277891da7c76cdde99f8b (diff) |
disk: introduce get_device()
This patch introduces function get_device(). This looks up a
block_dev_desc_t from an interface name (e.g. mmc) and device number
(e.g. 0). This function is essentially the non-partition-specific
prefix of get_device_and_partition().
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Diffstat (limited to 'common/cmd_disk.c')
0 files changed, 0 insertions, 0 deletions