[coreboot] [PATCH] Get mptable OEM/product ID from kconfig variables

Stefan Reinauer stepan at coreboot.org
Thu Dec 16 03:41:51 CET 2010


* Uwe Hermann <uwe at hermann-uwe.de> [101215 22:49]:
> 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 at hermann-uwe.de>

Acked-by: Stefan Reinauer <stepan at coreboot.org>

Please remember to add to Flag Days





More information about the coreboot mailing list