projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5520ab1
)
Blackfin: fix if() logic in bootrom evt1 check
author
Mike Frysinger
<vapier@gentoo.org>
Tue, 26 May 2009 06:51:57 +0000
(
02:51
-0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Fri, 29 May 2009 21:11:29 +0000
(17:11 -0400)
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>
include/asm-blackfin/blackfin-config-pre.h
patch
|
blob
|
history
diff --git
a/include/asm-blackfin/blackfin-config-pre.h
b/include/asm-blackfin/blackfin-config-pre.h
index a3db3627d706b44b9410f9d6aa169b44a8eec2c4..44f9c2fe663e2f048b75a0eda10abbe9f03e9135 100644
(file)
--- 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