From: Thomas Petazzoni Date: Mon, 14 Apr 2014 13:46:59 +0000 (+0200) Subject: ARM: mvebu: prepare coherency code to support more SOCs X-Git-Tag: omap-for-v3.16/fixes-against-rc1~52^2~16^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=924d38f404936495b59ef7fa3ff232d978d64b18;p=pandora-kernel.git ARM: mvebu: prepare coherency code to support more SOCs The code that handles the coherency fabric of Armada 370 and Armada XP in arch/arm/mach-mvebu/coherency.c made the assumption that there was only one type of coherency fabric. Unfortunately, it turns out that upcoming SoCs have a slightly different coherency unit. In preparation to the introduction of the coherency support for more SoCs, this commit: * Introduces a data associated to the compatible string in the compatible string match table, so that the code can differantiate the variant of coherency unit being used. * Separates the coherency unit initialization code into its own function. Signed-off-by: Thomas Petazzoni Link: https://lkml.kernel.org/r/1397483228-25625-2-git-send-email-thomas.petazzoni@free-electrons.com Signed-off-by: Jason Cooper --- Reading git-diff-tree failed