Author: stuge
Date: 2009-05-06 15:43:26 +0200 (Wed, 06 May 2009)
New Revision: 466

Modified:
   trunk/chipset_enable.c
Log:
Cleanup redundant condition and clarify message a little.

Signed-off-by: Peter Stuge <[email protected]>
Acked-by: Peter Stuge <[email protected]>


Modified: trunk/chipset_enable.c
===================================================================
--- trunk/chipset_enable.c      2009-05-06 13:38:55 UTC (rev 465)
+++ trunk/chipset_enable.c      2009-05-06 13:43:26 UTC (rev 466)
@@ -675,12 +675,11 @@
                prot &= 0xfffffffc;
                pci_write_byte(dev, reg, prot);
                prot = pci_read_long(dev, reg);
-               if (prot & 0x3)
-                       printf("SB600 still %s%sprotected from %u to %u\n",
-                               (prot & 0x1) ? "write " : "",
-                               (prot & 0x2) ? "read " : "",
-                               (prot & 0xfffffc00),
-                               (prot & 0xfffffc00) + ((prot & 0x3ff) << 8));
+               printf("SB600 %s%sunprotect failed from %u to %u\n",
+                       (prot & 0x1) ? "write " : "",
+                       (prot & 0x2) ? "read " : "",
+                       (prot & 0xfffffc00),
+                       (prot & 0xfffffc00) + ((prot & 0x3ff) << 8));
        }
 
        /* Read SPI_BaseAddr */


-- 
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to