summaryrefslogtreecommitdiff
path: root/satasii.c
diff options
context:
space:
mode:
authoruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-31 21:35:10 +0000
committeruwe <uwe@2b7e53f0-3cfb-0310-b3e9-8179ed1497e1>2009-05-31 21:35:10 +0000
commitc64c1bcc28d102a5857a06eac0961069698052a6 (patch)
treea7ff2b396b165ad4e221155a51bf16d54876d8dd /satasii.c
parent14ce1ac406318ea57d15516df80839e890cc3e79 (diff)
downloadflashrom-c64c1bcc28d102a5857a06eac0961069698052a6.tar.gz
Fix warning in satasii.c when compiling with gcc 4.4.0.
Signed-off-by: Urja Rannikko <urjaman@gmail.com> Acked-by: Uwe Hermann <uwe@hermann-uwe.de> git-svn-id: https://code.coreboot.org/svn/flashrom/trunk@558 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'satasii.c')
-rw-r--r--satasii.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/satasii.c b/satasii.c
index 8919d06..d971b24 100644
--- a/satasii.c
+++ b/satasii.c
@@ -64,7 +64,7 @@ int satasii_init(void)
sii_bar = physmap("SATA SIL registers", addr, 0x100) + reg_offset;
/* Check if ROM cycle are OK. */
- if ((id != 0x0680) && (!(mmio_readl(sii_bar)) & (1 << 26)))
+ if ((id != 0x0680) && (!(mmio_readl(sii_bar) & (1 << 26))))
printf("Warning: Flash seems unconnected.\n");
return 0;