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 <[email protected]>
> Cc: Tom Rini <[email protected]>
> Signed-off-by: Nikita Kiryanov <[email protected]>

[...]

> +#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.
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to