coreboot-kgpe-d16/src
Kyösti Mälkki a6c525a7d5 AMD AGESA cimx/sb700: Drop APIC_ID_OFFSET and MAX_PHYSICAL_CPUS
Following boards use cimx/sb700:
  amd/dinar
  supermicro/h8qgi
  supermicro/h8scm
  tyan/s8226

Only amd/dinar had APIC_ID_OFFSET defined, thus all had 0x0.
There was a nonsense preprocessor directive (MAX_CPUS * MAX_PHYSICAL_CPUS >= 1).

Except for tyan, (MAX_CPUS * MAX_PHYSICAL_CPUS) % 256 == 0.
Together with documented 4-bit restriction for APIC ID field, this APIC ID
programming matches with MP tables and ACPI tables.

I believe this would also fix cases of cimx/sb700 with MAX_CPUS<16, which
we do not have in the tree.

Change-Id: If8d65e95788ba02fc8d331a7af03a4d0d8cf5c69
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/5539
Tested-by: build bot (Jenkins)
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2014-04-20 20:03:55 +02:00
..
arch build rules: Identify build stage with simple variables 2014-04-18 16:40:32 +02:00
console console: Simplify the enable rules 2014-04-18 16:41:09 +02:00
cpu console: Use romstage code for ramstage and SMM 2014-04-18 16:39:19 +02:00
device OxPCIe uart: Split PCI bridge control 2014-04-09 11:29:45 +02:00
drivers console: Drop driver list in ramstage 2014-04-18 16:39:09 +02:00
ec ec/compal/ene932: Update to use coreboot EC-mainboard API 2014-04-19 03:49:48 +02:00
include drivers/elog: Fix implicit function declaration issue 2014-04-20 17:43:34 +02:00
lib rmodule: add subsections to linker script 2014-04-19 07:11:41 +02:00
mainboard AMD AGESA cimx/sb700: Drop APIC_ID_OFFSET and MAX_PHYSICAL_CPUS 2014-04-20 20:03:55 +02:00
northbridge AMD AGESA fam15tn/fam16kb: Remove unused source files 2014-04-16 14:39:11 +02:00
soc console: Move newline translation outside console_tx_byte 2014-04-09 13:21:25 +02:00
southbridge AMD AGESA cimx/sb700: Drop APIC_ID_OFFSET and MAX_PHYSICAL_CPUS 2014-04-20 20:03:55 +02:00
superio superio/ite/it8728f: Fix headers and prototype location 2014-04-15 04:35:20 +02:00
vendorcode vendorcode/amd/agesa/fam14: Build as a static library 2014-04-15 17:23:37 +02:00
Kconfig buildsystem: check for coreboot toolchain by default 2014-04-16 08:20:06 +02:00