summaryrefslogtreecommitdiff
path: root/include/fdt_support.h
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2010-06-01 12:24:27 -0500
committerKumar Gala <galak@kernel.crashing.org>2010-07-16 10:55:07 -0500
commit929a213830612579e2413297ead6353615a64dc2 (patch)
treec72d82cf3377be95723383c24e5d880280c95b05 /include/fdt_support.h
parent5d0c3b57b2c6dc58c4626b036b1cc767619b19f4 (diff)
downloadu-boot-imx-929a213830612579e2413297ead6353615a64dc2.zip
u-boot-imx-929a213830612579e2413297ead6353615a64dc2.tar.gz
u-boot-imx-929a213830612579e2413297ead6353615a64dc2.tar.bz2
powerpc/8xxx: Distinguish between incompatible SEC h/w types
CONFIG_SYS_FSL_SEC_COMPAT is set to 2 for the SEC 2.x and SEC 3.x. Parts with newer SEC h/w versions will increment the number to accomodate incompatible code changes. Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/fdt_support.h')
-rw-r--r--include/fdt_support.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/fdt_support.h b/include/fdt_support.h
index 9a453af..fc16159 100644
--- a/include/fdt_support.h
+++ b/include/fdt_support.h
@@ -59,7 +59,7 @@ 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)
+#if defined(CONFIG_SYS_FSL_SEC_COMPAT)
void fdt_fixup_crypto_node(void *blob, int sec_rev);
#else
static inline void fdt_fixup_crypto_node(void *blob, int sec_rev) {}