summaryrefslogtreecommitdiff
path: root/arch/powerpc/include
diff options
context:
space:
mode:
authorRuchika Gupta <ruchika.gupta@freescale.com>2014-12-15 11:30:36 +0530
committerYork Sun <yorksun@freescale.com>2015-01-23 22:29:14 -0600
commit0181937fa371aa482d99f17ab2bc219bfcbb21b2 (patch)
tree1cd8f210ebcdc1a1e141ed77bc255ca8254b1590 /arch/powerpc/include
parentd8f527578e15c307e93f851014f382e94f78cf39 (diff)
crypto/fsl: Add fixup for crypto node
Era property is added in the crypto node in device tree. Move the code to do so from arch/powerpc/mpc8xxx/fdt.c to drivers/sec/sec.c so that it can be used across arm and powerpc platforms having crypto node. Signed-off-by: Ruchika Gupta <ruchika.gupta@freescale.com> [York Sun: Fix commit message indentation] Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/powerpc/include')
-rw-r--r--arch/powerpc/include/asm/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/include/asm/config.h b/arch/powerpc/include/asm/config.h
index 423a6fb8dc..65496d0d90 100644
--- a/arch/powerpc/include/asm/config.h
+++ b/arch/powerpc/include/asm/config.h
@@ -75,6 +75,7 @@
* SEC (crypto unit) major compatible version determination
*/
#if defined(CONFIG_MPC83xx)
+#define CONFIG_SYS_FSL_SEC_BE
#define CONFIG_SYS_FSL_SEC_COMPAT 2
#endif