coreboot-kgpe-d16/src/mainboard/supermicro/h8dmr
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
..
ap_romstage.c After this has been brought up many times before, rename src/arch/i386 to 2010-12-11 20:33:41 +00:00
chip.h Remove unused mainboard_config definitions. Trivial. 2010-08-26 18:24:04 +00:00
cmos.layout Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
devicetree.cb CK804/MCP55 devicetree.cb cosmetic and indentation fixes. 2010-11-14 20:10:11 +00:00
get_bus_conf.c Final set of smp_write_bus -> mptable_write_buses changes. 2010-11-22 14:14:56 +00:00
irq_tables.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
Kconfig Move "select CACHE_AS_RAM" lines from boards into CPU socket. 2010-12-08 08:22:04 +00:00
mainboard.c Cleanup up HD audio codec / hda_verb.h files. 2010-12-15 08:56:19 +00:00
mptable.c Get mptable OEM/product ID from kconfig variables. 2010-12-16 19:51:38 +00:00
resourcemap.c Since some people disapprove of white space cleanups mixed in regular commits 2010-04-27 06:56:47 +00:00
romstage.c second round name simplification. drop the <component>_ prefix. 2010-12-08 07:07:33 +00:00