smbios: add a family id in smbios type1 family

mosys will use this field to identify system

BRANCH=none
BUG=chromium:359155
TEST=build ok, use dmidecode to check whether data is
     written correctly

Change-Id: Icfbd4c61fc49a9cb3d3ecd2b622339957963150c
Signed-off-by: Kane Chen <kane.chen@intel.com>
Reviewed-on: https://chromium-review.googlesource.com/217400
Reviewed-by: David Hendricks <dhendrix@chromium.org>
Reviewed-by: Shawn Nematbakhsh <shawnn@chromium.org>
This commit is contained in:
Kane Chen 2014-09-08 18:40:30 -07:00 committed by chrome-internal-fetch
commit 7adbdab761
2 changed files with 13 additions and 0 deletions

View file

@ -14,6 +14,9 @@ int smbios_write_type41(unsigned long *current, int *handle,
const char *smbios_mainboard_serial_number(void);
const char *smbios_mainboard_version(void);
#ifdef CONFIG_MAINBOARD_FAMILY
const char *smbios_mainboard_family(void);
#endif
#define BIOS_CHARACTERISTICS_PCI_SUPPORTED (1 << 7)
#define BIOS_CHARACTERISTICS_PC_CARD (1 << 8)