summaryrefslogtreecommitdiff
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2010-06-01 12:24:34 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-16 10:55:07 -0500
commit22f292c7b2860036588896c7615bddd6c6e1d8e3 (patch)
tree437c56f7e424eec27783739f82f1cec92fba21e1 /arch/powerpc/cpu
parent929a213830612579e2413297ead6353615a64dc2 (diff)
downloadu-boot-imx-22f292c7b2860036588896c7615bddd6c6e1d8e3.zip
u-boot-imx-22f292c7b2860036588896c7615bddd6c6e1d8e3.tar.gz
u-boot-imx-22f292c7b2860036588896c7615bddd6c6e1d8e3.tar.bz2
powerpc/8xxx: Add base support for the SEC4
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc8xxx/fdt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c
index d0e06e2..738394f 100644
--- a/arch/powerpc/cpu/mpc8xxx/fdt.c
+++ b/arch/powerpc/cpu/mpc8xxx/fdt.c
@@ -183,4 +183,10 @@ void fdt_fixup_crypto_node(void *blob, int sec_rev)
printf("WARNING: could not set crypto property: %s\n",
fdt_strerror(err));
}
+#elif CONFIG_SYS_FSL_SEC_COMPAT >= 4 /* SEC4 */
+void fdt_fixup_crypto_node(void *blob, int sec_rev)
+{
+ if (!sec_rev)
+ fdt_del_node_and_alias(blob, "crypto");
+}
#endif