coreboot-kgpe-d16/src/mainboard/tyan/s2880
Uwe Hermann c36d506a05 Get mptable OEM/product ID from kconfig variables.
We currently use "COREBOOT" unconditionally as the "OEM ID" in our
mptable.c files, and hardcode the mainboard name in mptable.c like this:

  mptable_init(mc, "DK8-HTX     ", LAPIC_ADDR);

However, the spec says

  "OEM ID: A string that identifies the manufacturer of the system hardware."
  (Table 4-2, page 42)

so "COREBOOT" doesn't match the spec, we should use the hardware vendor name.

Thus, use CONFIG_MAINBOARD_VENDOR which we have already as the "OEM ID"
(truncate/fill it to 8 characters as per spec).

Also, use CONFIG_MAINBOARD_PART_NUMBER (the board name) as "product ID",
and truncate/fill it to 12 characters as per spec, if needed.

Abuild-tested.

Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Stefan Reinauer <stepan@coreboot.org>



git-svn-id: svn://svn.coreboot.org/coreboot/trunk@6183 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2010-12-16 19:51:38 +00:00
..
chip.h Remove unused mainboard_config definitions. Trivial. 2010-08-26 18:24:04 +00:00
cmos.layout Replace dual_core and quad_core CMOS (nvram) options with multi_core. Fix some white space. 2010-04-08 15:06:44 +00:00
devicetree.cb Rename "apic" and "apic_cluster" to "lapic" and "lapic_cluster" 2010-05-05 13:12:42 +00:00
irq_tables.c Cut the crap. 2010-09-21 21:16:27 +00:00
Kconfig Move QRANK_DIMM_SUPPORT to Kconfig, removing it from romstage.c 2010-11-05 22:59:49 +00:00
mainboard.c Drop CONFIG_CHIP_NAME. Those config statements in Config.lb should 2009-04-01 13:43:21 +00:00
mptable.c Get mptable OEM/product ID from kconfig variables. 2010-12-16 19:51:38 +00:00
romstage.c second round name simplification. drop the <component>_ prefix. 2010-12-08 07:07:33 +00:00