[U-Boot] [PATCH 3/5] splash_source: add support for filesystem formatted usb

Igor Grinberg
2015-10-21T13:01:46Z

On 08/30/15 11:42, Nikita Kiryanov wrote:
> Add support for loading splash image from USB drive formatted with a
> filesystem.
>
> Cc: Igor Grinberg <grinberg@compulab.co.il>
> Cc: Tom Rini <trini@konsulko.com>
> Signed-off-by: Nikita Kiryanov <nikita@compulab.co.il>

[...]

> +#ifdef CONFIG_USB_STORAGE
> + if (location->storage == SPLASH_STORAGE_USB) {
> + usb_init();
> + usb_stor_scan(1);
> + }
> +#endif

Can we use IS_ENABLED() stuff here instead?

--
Regards,
Igor.