Re: [PATCH RFC] USB: Add HCD fastboot

David Brownell
2008-08-07T03:34:57Z

On Wednesday 06 August 2008, Simon Arlott wrote:
> +ifndef CONFIG_USB_FASTBOOT
> +  obj-y                                += $(tmp-y)
> +endif
>
>  obj-$(CONFIG_USB_ACM)          += class/
>  obj-$(CONFIG_USB_PRINTER)      += class/
> @@ -34,3 +40,7 @@ obj-$(CONFIG_USB)             += misc/
>
>  obj-$(CONFIG_USB_ATM)          += atm/
>  obj-$(CONFIG_USB_SPEEDTOUCH)   += atm/
> +
> +ifdef CONFIG_USB_FASTBOOT
> +  obj-y                                += $(tmp-y)
> +endif

If you want to do such stuff, don't be conditional.
Just change it so USB is *always* earlier.

We really don't need to make boot sequences become
even harder to understand/predict.