summaryrefslogtreecommitdiff
path: root/src/mainboard/supermicro/x6dai_g
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2013-07-06 20:10:36 +0200
committerRonald G. Minnich <rminnich@gmail.com>2013-07-17 17:15:25 +0200
commitcd24e3f6a7adecfc9d3b2a2dd2f81d84acffa91b (patch)
tree10f6d04faf527cac64a9efe3da0ea4e1e560ea04 /src/mainboard/supermicro/x6dai_g
parent5d8474329755905842b692eb70fa61a60e943661 (diff)
lenovo/x60: Add "IBM ThinkPad Embedded Controller" SMBIOS OEM String
The Linux thinkpad_acpi.c driver looks for this string while reading information about the system it is running on. This commit does not make the module load but it is one of several things that the module looks for on a ThinkPad. The use of 3 defines for the serial number template seems odd but it's done in a way that eliminates magic numbers, yet avoids use of strcpy, strlen, strindex, strchr, or strspan: we can have some correctness assured at compile time. Also, the defines can be copy/pasted for other mainboards and we should void errors due to people not changing magic numbers. Change-Id: Ief5f28d2e27bf959cb579c4c8eea9eecc9a89a7c Signed-off-by: Peter Stuge <peter@stuge.se> Signed-off-by: Ronald G. Minnich <rminnich@gmail.com> Reviewed-on: http://review.coreboot.org/3620 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/mainboard/supermicro/x6dai_g')
0 files changed, 0 insertions, 0 deletions