diff options
author | Tom Rini <trini@konsulko.com> | 2017-06-10 09:47:57 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-10 09:47:57 -0400 |
commit | 75fd49c836d9a1750c9b6d86c0511b990fbe9fa8 (patch) | |
tree | cb0e9010edb4dbc48230bf6fc031de9a101d42dd /include/blk.h | |
parent | 56491f98d48921a57d1f13e3f91556a1b87de2f8 (diff) | |
parent | abf54bf978ed9932d69ee7f937012398d0d8d08f (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mmc
Diffstat (limited to 'include/blk.h')
-rw-r--r-- | include/blk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/blk.h b/include/blk.h index a128ee4841..4d60987f61 100644 --- a/include/blk.h +++ b/include/blk.h @@ -616,4 +616,11 @@ ulong blk_write_devnum(enum if_type if_type, int devnum, lbaint_t start, */ int blk_select_hwpart_devnum(enum if_type if_type, int devnum, int hwpart); +/** + * blk_get_from_parent() - obtain a block device by looking up its parent + * + * All devices with + */ +int blk_get_from_parent(struct udevice *parent, struct udevice **devp); + #endif |