[U-Boot] [U-boot] [Patch v4 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC

Tom Rini trini at ti.com
Mon Oct 20 17:13:54 CEST 2014


On Wed, Oct 15, 2014 at 02:55:29AM +0300, Ivan Khoronzhuk wrote:
> From: Hao Zhang <hzhang at ti.com>
> 
> This patch adds Keystone II Lamar (K2L) SoC specific definitions
> to support MSMC cache coherency.
> 
> Acked-by: Vitaly Andrianov <vitalya at ti.com>
> Signed-off-by: Hao Zhang <hzhang at ti.com>
> Signed-off-by: Ivan Khoronzhuk <ivan.khoronzhuk at ti.com>
> ---
>  arch/arm/cpu/armv7/keystone/init.c | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/arch/arm/cpu/armv7/keystone/init.c b/arch/arm/cpu/armv7/keystone/init.c
> index a8f8aee..a0ecfa2 100644
> --- a/arch/arm/cpu/armv7/keystone/init.c
> +++ b/arch/arm/cpu/armv7/keystone/init.c
> @@ -32,6 +32,9 @@ int arch_cpu_init(void)
>  #ifdef CONFIG_SOC_K2E
>  	msmc_share_all_segments(13); /* PCIE 1 */
>  #endif
> +#ifdef CONFIG_SOC_K2L
> +	msmc_share_all_segments(14); /* PCIE 1 */
> +#endif
>  
>  	/*
>  	 * just initialise the COM2 port so that TI specific

Where does 13/14 come from and can we just define what that means in a
K2-foo specific header so we can always do
msmc_share_all_segments(K2_MSMC_SEGMENTS_NR) or whatever?  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141020/51835dfa/attachment.pgp>


More information about the U-Boot mailing list