From: LEROY Christophe Date: Fri, 17 Apr 2015 14:32:05 +0000 (+0200) Subject: crypto: talitos - Add a feature to tag SEC1 X-Git-Tag: omap-for-v4.3/legacy-v2-signed~193^2~282 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21590888490ce2a46ff4703b1503f562f4a59571;p=pandora-kernel.git crypto: talitos - Add a feature to tag SEC1 We add a new feature in the features field, to mark compatible "fsl,sec1.0" We also define a helper function called has_ftr_sec1() to help functions quickly determine if they are running on SEC1 or SEC2+. When only SEC1 or SEC2 is compiled in, has_ftr_sec1() return trivial corresponding value. If both are compiled in, feature field is checked. Signed-off-by: Christophe Leroy Signed-off-by: Herbert Xu --- Reading git-diff-tree failed