[U-Boot] [PATCH] mx6: Set shared override bit in PL310 AUX_CTRL register

Fabio Estevam festevam at gmail.com
Thu Mar 12 16:15:32 CET 2015


On Thu, Mar 12, 2015 at 11:43 AM, Nishanth Menon <nm at ti.com> wrote:

> I dont think this works for OMAP4 (which also uses A9, PL310) - we use
> an smc #0 with service 0x109 (I have to reconfirm) to set l2 aux_ctrl.
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-omap2/omap4-common.c#n178
>
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/mach-omap2/omap-secure.h#n44
>
> we might want to ensure that:
> a) The "setting" part of things get into a weak function with default
> function that may be SoC dependent if needed
> b) there be revision checks as needed to add this.
> c) each configuration be adequately isolated perhaps?

Adding a common support for this seems to be far more complex then I expected.

Maybe someone could come up with a proper common solution for this. If
not, then we should go with the mx6 specific patch for the time being.

Regards,

Fabio Estevam


More information about the U-Boot mailing list