summaryrefslogtreecommitdiff
path: root/include/asm-blackfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-26 02:51:57 -0400
committerMike Frysinger <vapier@gentoo.org>2009-05-29 17:11:29 -0400
commit2157359dad2533987f5eb0181ef543693fad6a33 (patch)
treeed21da530e5f712617321c468cce45854a7543b9 /include/asm-blackfin
parent5520ab1f7685721314dcfb7cdcc7c15e6571473f (diff)
downloadu-boot-imx-2157359dad2533987f5eb0181ef543693fad6a33.zip
u-boot-imx-2157359dad2533987f5eb0181ef543693fad6a33.tar.gz
u-boot-imx-2157359dad2533987f5eb0181ef543693fad6a33.tar.bz2
Blackfin: fix if() logic in bootrom evt1 check
A missing set of parenthesis caused the silicon revision to apply only to the BF533 and not the BF531/BF532 variants. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/asm-blackfin')
-rw-r--r--include/asm-blackfin/blackfin-config-pre.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/blackfin-config-pre.h b/include/asm-blackfin/blackfin-config-pre.h
index a3db362..44f9c2f 100644
--- a/include/asm-blackfin/blackfin-config-pre.h
+++ b/include/asm-blackfin/blackfin-config-pre.h
@@ -55,7 +55,7 @@ static inline const char *get_bfin_boot_mode(int bfin_boot)
#endif
/* Most bootroms allow for EVT1 redirection */
-#if (defined(__ADSPBF531__) || defined(__ADSPBF532__) || defined(__ADSPBF533__) \
+#if ((defined(__ADSPBF531__) || defined(__ADSPBF532__) || defined(__ADSPBF533__)) \
&& __SILICON_REVISION__ < 3) || defined(__ADSPBF561__)
# undef CONFIG_BFIN_BOOTROM_USES_EVT1
#else