[PATCH] ARM: rpi: fix reading of the EMMC clock for CONFIG_MMU

Andre Heider a.heider at gmail.com
Wed Oct 16 05:00:27 EDT 2013


On Wed, Oct 16, 2013 at 09:32:09AM +0200, Lucas Stach wrote:
> Am Dienstag, den 15.10.2013, 19:38 +0200 schrieb Andre Heider:
> > Add explicit flushing to prevent the 50MHz fallback.
> > 
> Uh, this is pretty ugly. We certainly don't want all those explicit
> invalidates/flushes in the driver code. Isn't it possible to push this
> into some helper functions, that do the right thing when communicating
> with the mailboxes?

Sure, as of now this was just the only mbox user. So I hacked away to
prevent regressions under CONFIG_MMU ;)

But I planned to work on exactly that, since we want to use mbox for
other things too (like setting up simplefb for the kernel).

Regards,
Andre



More information about the barebox mailing list