]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: disk: Use legacy block driver info for block device access
authorSimon Glass <sjg@chromium.org>
Sun, 1 May 2016 17:36:12 +0000 (11:36 -0600)
committerSimon Glass <sjg@chromium.org>
Tue, 17 May 2016 15:54:43 +0000 (09:54 -0600)
commita6331fa83cb4a1557df4acfa4214d556f4596904
tree6388b62dadc61ea9366471b81ebd9714625b3bc7
parentd97dc8a0e6d38d11848ee78669639324edc0df01
dm: disk: Use legacy block driver info for block device access

Instead of calling xx_get_dev() functions for each interface type, use the
new legacy block driver which can provide the device through its interface.

Signed-off-by: Simon Glass <sjg@chromium.org>
disk/part.c