platform/mellanox: Add new ODM system types to mlx-platform
authorVadim Pasternak <vadimp@mellanox.com>
Mon, 7 May 2018 06:48:52 +0000 (06:48 +0000)
committerDarren Hart (VMware) <dvhart@infradead.org>
Fri, 1 Jun 2018 16:54:34 +0000 (09:54 -0700)
commitcbf7ff8cdb03a81ae81680ac133c7b1bf5194001
tree0628d12cdd11b9d0a7c3cc5fcf2ff2c7047ab6ae
parent4b5e32df66877d5ba0ae9ea00c304dc60a18322d
platform/mellanox: Add new ODM system types to mlx-platform

Add new ODM system types, matched according to DMI_BOARD_NAME. The
supported ODM Ids are: VMOD0001, VMOD0002, VMOD0003, VMOD0004, VMOD0005.
Patch does not introduce new systems, but allows to ODM companies to set
DMI_BOARD_VENDOR and DMI_PRODUCT_NAME on their own. It assumes that ODM
company can't change DMI_BOARD_NAME.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Darren Hart (VMware) <dvhart@infradead.org>
drivers/platform/x86/mlx-platform.c