]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
keystone: k2h/e/l: Fix DMA coherency for QM PDSP
authorKaricheri, Muralidharan <m-karicheri2@ti.com>
Tue, 19 Jul 2016 18:39:14 +0000 (14:39 -0400)
committerTom Rini <trini@konsulko.com>
Mon, 25 Jul 2016 16:00:05 +0000 (12:00 -0400)
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid
left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid.
This, in effect disabled DMA coherency for QM PDSP.

Given that msmc_k2hkle_common_setup is valid for all K2H/K/L/E SoCs,
the #ifdef should been removed in the first place. Do the same.

Fixes: 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery")
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Acked-by: Nishanth Menon <nm@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/mach-keystone/init.c

index 3b6d5efce1a1386f2203d5e75b0e46892612e47f..6e5a1e1af1705c1d6b160f95d1740aefc6b25414 100644 (file)
@@ -101,9 +101,7 @@ static void msmc_k2hkle_common_setup(void)
        msmc_share_all_segments(KS2_MSMC_SEGMENT_C6X_0);
        msmc_share_all_segments(K2HKLE_MSMC_SEGMENT_ARM);
        msmc_share_all_segments(K2HKLE_MSMC_SEGMENT_NETCP);
-#ifdef KS2_MSMC_SEGMENT_QM_PDSP
        msmc_share_all_segments(K2HKLE_MSMC_SEGMENT_QM_PDSP);
-#endif
        msmc_share_all_segments(K2HKLE_MSMC_SEGMENT_PCIE0);
        msmc_share_all_segments(KS2_MSMC_SEGMENT_DEBUG);
 }