[U-Boot] [PATCH v4 3/6] mcx: Disable DCACHE since USB EHCI is enabled

Marek Vasut
2012-06-30T19:28:19Z

Dear Ilya Yanok,

> Dear Marek,
>
> 29.06.2012 04:54, Marek Vasut wrote:
> >> To clarify for everyone, the first part of this series fixes some
> >> alignment issues for things that were not starting address aligned.
> >> There still exist end-address alignment issues within ehci-hcd. The
> >> time I have for this problem right now boils down to disable dcache for
> >> these boards so that USB is still functional.
> >
> > To clarify it even further -- it always worked just by sheer coincidence
> > ...
>
> Not exactly. It never worked (at least on my systems) with D-Cache
> enabled. But at least we had a choice of run-time disabled dcache. With
> the recent changes we have to disable cache support at compile time.

I see what you're after. But do you consider runtime disabling the cache is the
way to go or it's a way of hiding bugs?

> Regards, Ilya.

Best regards,
Marek Vasut