Rework boolean expression (DeMorgan and all) for
[coreboot.git] / src / mainboard / amd / pistachio / romstage.c
index 0db2f3413b1ac6d0ab209d04016d750e1667eaeb..3af55eed9279e22541a0dbbbb72841b3a0a83e87 100644 (file)
@@ -107,7 +107,7 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
            (struct sys_info *)(CONFIG_DCACHE_RAM_BASE + CONFIG_DCACHE_RAM_SIZE -
                                CONFIG_DCACHE_RAM_GLOBAL_VAR_SIZE);
 
-       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 */
                enumerate_ht_chain();