[coreboot] [flashrom] [patch] Warning in satasii.c with GCC 4.4.0
Urja Rannikko
urjaman at gmail.com
Sun May 31 23:26:31 CEST 2009
Fix warning in satasii.c when compiling with gcc 4.4.0.
Signed-off-by: Urja Rannikko <urjaman at gmail.com>
Index: satasii.c
===================================================================
--- satasii.c (revision 557)
+++ satasii.c (working copy)
@@ -64,7 +64,7 @@
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;
--
urjaman
-------------- next part --------------
A non-text attachment was scrubbed...
Name: satasii_warning-2.patch
Type: application/octet-stream
Size: 455 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090601/21090dac/attachment.obj>
More information about the coreboot
mailing list