[PATCH] block: efi-block-io: add devinfo callback for media info
Sascha Hauer
sha at pengutronix.de
Thu Jan 20 00:36:44 PST 2022
On Wed, Jan 19, 2022 at 10:28:27AM +0100, Ahmad Fatoum wrote:
> There's some useful info in efi_block_io_media that's only compiled in
> at debug log level. While we need not print it always, it would be nice
> to have this printed when doing devinfo. Add a custom devinfo callback
> that does so and that invokes the normal EFI devinfo afterwards.
>
> Defining DEBUG in the file will still print it early in probe as before.
>
> Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
> ---
> drivers/block/efi-block-io.c | 42 +++++++++++++++++++++++-------------
> 1 file changed, 27 insertions(+), 15 deletions(-)
Applied, thanks
Sascha
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list