
On 10 May 2015 at 10:12, Marek Vasut marex@denx.de wrote:
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 hdegoede@redhat.com
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 marex@denx.de
Applied to u-boot-dm, thanks!