提交 2157359d 编写于 作者: M Mike Frysinger

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: NMike Frysinger <vapier@gentoo.org>
上级 5520ab1f
...@@ -55,7 +55,7 @@ static inline const char *get_bfin_boot_mode(int bfin_boot) ...@@ -55,7 +55,7 @@ static inline const char *get_bfin_boot_mode(int bfin_boot)
#endif #endif
/* Most bootroms allow for EVT1 redirection */ /* 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__) && __SILICON_REVISION__ < 3) || defined(__ADSPBF561__)
# undef CONFIG_BFIN_BOOTROM_USES_EVT1 # undef CONFIG_BFIN_BOOTROM_USES_EVT1
#else #else
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册