summaryrefslogtreecommitdiff
path: root/src/include/cpu
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-09-16 20:17:40 +0200
committerPatrick Georgi <pgeorgi@google.com>2016-09-20 17:38:56 +0200
commita0fed37044680d5c67f0a59a009af5069868a35b (patch)
treee825e563608f8dbd646640a0a84b0d67e4b16980 /src/include/cpu
parentc92abedd3a472091300467bbda45c3f77bd5b1c3 (diff)
src/include: Add space around operators
Change-Id: I0ee4c443b6861018f05cfc32135d632fd4996029 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16614 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/include/cpu')
-rw-r--r--src/include/cpu/amd/model_fxx_rev.h2
-rw-r--r--src/include/cpu/x86/mp.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/cpu/amd/model_fxx_rev.h b/src/include/cpu/amd/model_fxx_rev.h
index b133f3a035..be961f21da 100644
--- a/src/include/cpu/amd/model_fxx_rev.h
+++ b/src/include/cpu/amd/model_fxx_rev.h
@@ -73,7 +73,7 @@ static inline int is_e0_later_in_bsp(int nodeid)
if (IS_ENABLED(CONFIG_K8_REV_F_SUPPORT))
return 1;
- if (nodeid==0) { // we don't need to do that for node 0 in core0/node0
+ if (nodeid == 0) { // we don't need to do that for node 0 in core0/node0
return !is_cpu_pre_e0();
}
// d0 will be treated as e0 with this methods, but the d0 nb_cfg_54 always 0
diff --git a/src/include/cpu/x86/mp.h b/src/include/cpu/x86/mp.h
index cea3139bb3..6d51d7b005 100644
--- a/src/include/cpu/x86/mp.h
+++ b/src/include/cpu/x86/mp.h
@@ -114,8 +114,8 @@ struct mp_ops {
* 3. get_smm_info()
* 4. get_microcode_info()
* 5. adjust_cpu_apic_entry() for each number of get_cpu_count()
- * 6. adjust_smm_params(is_perm=0)
- * 7. adjust_smm_params(is_perm=1)
+ * 6. adjust_smm_params(is_perm = 0)
+ * 7. adjust_smm_params(is_perm = 1)
* 8. pre_mp_smm_init()
* 9. per_cpu_smm_trigger() in parallel for all cpus which calls
* relocation_handler() in SMM.