diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2016-08-21 10:12:15 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2016-08-23 15:43:58 +0200 |
commit | d6e96864c9245b82222dada6fea2b89ccb7fecfd (patch) | |
tree | 9d850d9cfc15d19792da114d426009cc6fb208fa /src/cpu/amd/model_fxx | |
parent | 38424987c6d19015e4572d5371a0f9f621fc46fa (diff) |
src/cpu: Capitalize CPU, APIC and IOAPIC typo fix
Change-Id: I82e0736dc6b44cfcc57cdfdc786c85c4b6882260
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/16276
Tested-by: build bot (Jenkins)
Reviewed-by: Omar Pakker
Diffstat (limited to 'src/cpu/amd/model_fxx')
-rw-r--r-- | src/cpu/amd/model_fxx/init_cpus.c | 6 | ||||
-rw-r--r-- | src/cpu/amd/model_fxx/model_fxx_init.c | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/amd/model_fxx/init_cpus.c b/src/cpu/amd/model_fxx/init_cpus.c index 2ea4fb9424..63c88232bf 100644 --- a/src/cpu/amd/model_fxx/init_cpus.c +++ b/src/cpu/amd/model_fxx/init_cpus.c @@ -54,7 +54,7 @@ static void for_each_ap(u32 bsp_apicid, u32 core_range, process_ap_t process_ap, j = ((pci_read_config32(PCI_DEV(0, 0x18 + i, 3), 0xe8) >> 12) & 3); if (nb_cfg_54) { - if (j == 0) { // if it is single core, we need to increase siblings for apic calculation + if (j == 0) { // if it is single core, we need to increase siblings for APIC calculation #if !CONFIG_K8_REV_F_SUPPORT e0_later_single_core = is_e0_later_in_bsp(i); // single core #else @@ -266,7 +266,7 @@ static u32 init_cpus(u32 cpu_init_detectedx) if (initial_apicid != 0) // other than bsp #endif { - /* use initial apic id to lift it */ + /* use initial APIC id to lift it */ u32 dword = lapic_read(LAPIC_ID); dword &= ~(0xff << 24); dword |= @@ -300,7 +300,7 @@ static u32 init_cpus(u32 cpu_init_detectedx) if (id.coreid == 0) { distinguish_cpu_resets(id.nodeid); -// start_other_core(id.nodeid); // start second core in first cpu, only allowed for nb_cfg_54 is not set +// start_other_core(id.nodeid); // start second core in first CPU, only allowed for nb_cfg_54 is not set } //here don't need to wait lapic_write(LAPIC_MSG_REG, (apicid << 24) | 0x33); // mark the CPU is started diff --git a/src/cpu/amd/model_fxx/model_fxx_init.c b/src/cpu/amd/model_fxx/model_fxx_init.c index e22eae4150..3d69dcba96 100644 --- a/src/cpu/amd/model_fxx/model_fxx_init.c +++ b/src/cpu/amd/model_fxx/model_fxx_init.c @@ -508,7 +508,7 @@ static void model_fxx_init(device_t dev) /* Set the processor name string */ init_processor_name(); - /* Enable the local CPU apics */ + /* Enable the local CPU APICs */ setup_lapic(); #if CONFIG_LOGICAL_CPUS |