On Tuesday, May 05, 2015 at 11:56:17 PM, Hans de Goede wrote: > For some reason the ohci code is full with: > > pkt_print(...) > mdelay(1); > > 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 <hdego...@redhat.com>
You might as well define a ohcidelay(1) function to avoid poluting the code with ifdefs . Best regards, Marek Vasut _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot