[U-Boot] [PATCH 01/16] disk/part.c: Expose list of available block drivers

Simon Glass sjg at chromium.org
Wed Feb 3 04:31:06 CET 2016


On 1 February 2016 at 19:44, Alexander Graf <agraf at suse.de> wrote:
> We have a pretty nice and generic interface to ask for a specific block
> device. However, that one is still based around the magic notion that
> we know the driver name.
>
> In order to be able to write fully generic disk access code, expose the
> currently internal list to other source files so that they can scan through
> all available block drivers.
>
> Signed-off-by: Alexander Graf <agraf at suse.de>
> ---
>  disk/part.c    | 7 +------
>  include/part.h | 8 ++++++++
>  2 files changed, 9 insertions(+), 6 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>
Tested on Beaglebone Black and Minnowboard MAX:
Tested-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list