coreboot-kgpe-d16/src/mainboard/asus/m5a88-v
Paul Menzel 12d60247ab AMD boards: ACPI DSDT: Use COREBOOT for the OEM Table ID field
The DSDT header contains the fields OEMID and OEM Table ID. See
for example ACPI specification 4.0a [1]

    5.2.11.1 Differentiated System Description Table (DSDT)

on page 135. There Table 5-16 contains the descriptions.

Field         Byte Length  Byte Offset  Description
===================================================
OEMID         6            10           OEM ID
OEM Table ID  8            16           The manufacture model ID.

Currently in coreboot there is no common method what to put in
these fields.

Mostly Intel based boards populate it with "CORE  " ore "COREv4"
and AMD based boards populate it with the board vendor and
model number, abbreviated appropriately to fit into these fields.

On most boards the proprietary vendor BIOS seems to leave these
fields – displayed with `sudo dmidecode` under System Information –
blank

    To Be Filled By O.E.M.

and fill out the Base Board Information with the board vendor and
model name.

In [2] Jens Rottmann argues that the this is really just the table
ID used for naming it and that »99% of the DSDT code is not board
specific«.

Both approaches seem to have their advantages, but using the
second one, developers often seem to forget to update them (for
example AMD Thather).

The current situation is at least not optimal. and therefore at
least unify the string in the OEM Table ID. If unifying the
OEM ID is also a good idea this should be done too.

If later on it should be decided that the board vendor and model
should be used again, this should be somehow derived from
Kconfig.

The following command was used for the change [3].

    $ git grep -l '\/\* TABLE ID \*\/' | xargs sed -i '/TABLE ID/s/"\([^"]*\)"/"COREBOOT"/'

This patch is split out from [2].

[1] http://www.acpi.info/spec40a.htm
[2] http://review.coreboot.org/#/c/2464/
[3] http://stackoverflow.com/questions/5207838/sed-regex-matching-text-between-to-double-quotes-when-a-certain-text-appears-i

Change-Id: Iec98c615ce37f928abc1b500eff5aa865d772cb2
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/2472
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
2013-02-25 18:51:29 +01:00
..
acpi Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
acpi_tables.c Drop unneeded BOARD_HAS_FADT option 2012-11-16 01:13:02 +01:00
cmos.layout Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
devicetree.cb sconfig: rename lapic_cluster -> cpu_cluster 2013-02-14 07:07:20 +01:00
dsdt.asl AMD boards: ACPI DSDT: Use COREBOOT for the OEM Table ID field 2013-02-25 18:51:29 +01:00
get_bus_conf.c Clean up #ifs 2012-05-08 00:34:34 +02:00
irq_tables.c Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
Kconfig Fix Kconfig GENERATE_*_TABLE usage 2012-11-16 01:15:55 +01:00
mainboard.c mainboard.c: Name enable_dev function uniformly mainboard_enable 2013-02-25 18:47:00 +01:00
Makefile.inc Rename AMD_AGESA to CPU_AMD_AGESA 2012-03-16 22:40:35 +01:00
mb_sysconf.h Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
mptable.c Clean up #ifs 2012-05-08 00:34:34 +02:00
platform_cfg.h AMD based boards: platform_cfg.h: Replace _*BOARDNAME*_CFG_H_ with _PLATFORM_CFG_H_ 2013-02-23 01:22:29 +01:00
reset.c Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
resourcemap.c Add ASUS M5A88-V mainboard support 2011-10-28 22:26:07 +02:00
romstage.c amdk8/amdfam10: Use CAR_GLOBAL for sysinfo 2012-11-28 07:45:05 +01:00