From d6e96864c9245b82222dada6fea2b89ccb7fecfd Mon Sep 17 00:00:00 2001 From: Elyes HAOUAS Date: Sun, 21 Aug 2016 10:12:15 +0200 Subject: src/cpu: Capitalize CPU, APIC and IOAPIC typo fix Change-Id: I82e0736dc6b44cfcc57cdfdc786c85c4b6882260 Signed-off-by: Elyes HAOUAS Reviewed-on: https://review.coreboot.org/16276 Tested-by: build bot (Jenkins) Reviewed-by: Omar Pakker --- src/cpu/amd/dualcore/amd_sibling.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/cpu/amd/dualcore') diff --git a/src/cpu/amd/dualcore/amd_sibling.c b/src/cpu/amd/dualcore/amd_sibling.c index e0723ce011..b4f1ad32a9 100644 --- a/src/cpu/amd/dualcore/amd_sibling.c +++ b/src/cpu/amd/dualcore/amd_sibling.c @@ -82,7 +82,7 @@ unsigned get_apicid_base(unsigned ioapic_num) siblings = get_max_siblings(nodes); - if(bsp_apic_id > 0) { // io apic could start from 0 + if (bsp_apic_id > 0) { // IOAPIC could start from 0 return 0; } else if(pci_read_config32(dev, 0x68) & ( (1<<17) | (1<<18)) ) { // enabled ext id but bsp = 0 return 1; @@ -108,8 +108,8 @@ unsigned get_apicid_base(unsigned ioapic_num) if((!disable_siblings) && (siblings>0) ) { /* for 8 way dual core, we will used up apicid 16:16, actually 16 is not allowed by current kernel - and the kernel will try to get one that is small than 16 to make io apic work. - I don't know when the kernel can support 256 apic id. (APIC_EXT_ID is enabled) */ + and the kernel will try to get one that is small than 16 to make IOAPIC work. + I don't know when the kernel can support 256 APIC id. (APIC_EXT_ID is enabled) */ //4:10 for two way 8:12 for four way 16:16 for eight way //Use CONFIG_MAX_PHYSICAL_CPUS instead of nodes for better consistency? @@ -122,7 +122,7 @@ unsigned get_apicid_base(unsigned ioapic_num) if((apicid_base+ioapic_num-1)>0xf) { // We need to enable APIC EXT ID - printk(BIOS_INFO, "if the IO APIC device doesn't support 256 apic id, \n you need to set CONFIG_ENABLE_APIC_EXT_ID in romstage.c so you can spare 16 id for ioapic\n"); + printk(BIOS_INFO, "if the IOAPIC device doesn't support 256 APIC id, \n you need to set CONFIG_ENABLE_APIC_EXT_ID in romstage.c so you can spare 16 id for IOAPIC\n"); enable_apic_ext_id(nodes); } -- cgit v1.2.3