[PATCH 04/12] bsp/arm: Broadcast cache maintenances

Gedare Bloom gedare at rtems.org
Tue May 27 14:52:15 UTC 2014


On Tue, May 27, 2014 at 10:45 AM, Ralf Kirchner
<ralf.kirchner at embedded-brains.de> wrote:
> ---
>  c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h |    2 +-
>  1 Datei geändert, 1 Zeile hinzugefügt(+), 1 Zeile entfernt(-)
>
> diff --git a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
> index 578c842..97977ba 100644
> --- a/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
> +++ b/c/src/lib/libbsp/arm/shared/include/arm-a9mpcore-start.h
> @@ -108,7 +108,7 @@ BSP_START_TEXT_SECTION static inline void arm_a9mpcore_start_hook_0(void)
>    /* Enable cache coherency support for this processor */
>    {
>      uint32_t actlr = arm_cp15_get_auxiliary_control();
> -    actlr |= ARM_CORTEX_A9_ACTL_SMP;
> +    actlr |= ARM_CORTEX_A9_ACTL_SMP | ARM_CORTEX_A9_ACTL_FW;
Perhaps this should be encapsulated by a function call, considering it
is copied in some other start hooks?

>      arm_cp15_set_auxiliary_control(actlr);
>    }
>  #endif
> --
> 1.7.10.4
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel




More information about the devel mailing list