Rework boolean expression (DeMorgan and all) for
[coreboot.git] / src / mainboard / iwill / dk8s2 / romstage.c
index 04575b13b3d9153892771fe1f088bbd348740228..0131d443e958e47ef53d11e38d05d74a38634703 100644 (file)
@@ -154,7 +154,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
         int needs_reset; int i;
         unsigned bsp_apicid = 0;
 
-        if (!((cpu_init_detectedx) || (!boot_cpu()))) {
+        if (!cpu_init_detectedx && boot_cpu()) {
                /* Nothing special needs to be done to find bus 0 */
                /* Allow the HT devices to be found */