On Sunday, May 10, 2015 at 02:10:24 PM, Hans de Goede wrote:
> For some reason the ohci code is full with:
> 
>  #ifdef DEBUG
>               pkt_print(...)
>  #else
>               mdelay(1);
>  #endif
> 
> AFAICT there is no reason for the mdelay(1) calls. This commit disables
> them when building the ohci code for new driver-model using boards. It
> leaves the mdelay(1) calls in place when building for older boards, so as
> to avoid causing any regressions there.
> 
> Signed-off-by: Hans de Goede <[email protected]>

Maybe those debug prints can be abstracted into one single function instead
of having the code littered with #ifdef-else-endif , but let's do that later
or in another patch.

Acked-by: Marek Vasut <[email protected]>
[...]
Best regards,
Marek Vasut
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to