summaryrefslogtreecommitdiffstats
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2008-06-16 15:55:53 -0500
committerAndrew Fleming-AFLEMING <afleming@freescale.com>2008-07-14 17:01:29 -0500
commit6b70ffb9d1b2e791161f3cf92937aa45b4a07b78 (patch)
treef24a6eb97feae2e44f013f047468ec0dffba71d2 /include/fdt_support.h
parentab5cda9f88c3eaf9cf599adc3a3375906c4ed904 (diff)
downloadblackbird-obmc-uboot-6b70ffb9d1b2e791161f3cf92937aa45b4a07b78.tar.gz
blackbird-obmc-uboot-6b70ffb9d1b2e791161f3cf92937aa45b4a07b78.zip
fdt: add crypto node handling for MPC8{3, 5}xxE processors
Delete the crypto node if not on an E-processor. If on 8360 or 834x family, check rev and up-rev crypto node (to SEC rev. 2.4 property values) if on an 'EA' processor, e.g. MPC8349EA. Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 890993ff9d..a7c6326e12 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -56,6 +56,12 @@ void fdt_fixup_dr_usb(void *blob, bd_t *bd);
static inline void fdt_fixup_dr_usb(void *blob, bd_t *bd) {}
#endif /* CONFIG_HAS_FSL_DR_USB */
+#if defined(CONFIG_MPC85xx) || defined(CONFIG_MPC83XX)
+void fdt_fixup_crypto_node(void *blob, int sec_rev);
+#else
+static inline void fdt_fixup_crypto_node(void *blob, int sec_rev) {}
+#endif
+
#ifdef CONFIG_OF_BOARD_SETUP
void ft_board_setup(void *blob, bd_t *bd);
void ft_cpu_setup(void *blob, bd_t *bd);
OpenPOWER on IntegriCloud