From: Tom Rini Date: Mon, 20 Oct 2014 11:13:54 -0400 Subject: [U-Boot] [U-boot] [Patch v4 3/6] keystone2: msmc: add MSMC cache coherency support for K2L SOC In-Reply-To: <1413330932-30184-4-git-send-email-ivan.khoronzhuk@ti.com> References: <1413330932-30184-1-git-send-email-ivan.khoronzhuk@ti.com> <1413330932-30184-4-git-send-email-ivan.khoronzhuk@ti.com> Message-ID: <20141020151354.GN25506@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, Oct 15, 2014 at 02:55:29AM +0300, Ivan Khoronzhuk wrote: > From: Hao Zhang > > This patch adds Keystone II Lamar (K2L) SoC specific definitions > to support MSMC cache coherency. > > Acked-by: Vitaly Andrianov > Signed-off-by: Hao Zhang > Signed-off-by: Ivan Khoronzhuk > --- > 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: