]> git.baikalelectronics.ru Git - kernel.git/commit
platform/x86: mlx-platform: Add more definitions for system attributes
authorVadim Pasternak <vadimp@mellanox.com>
Tue, 14 Jul 2020 12:01:59 +0000 (15:01 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 15 Jul 2020 09:45:07 +0000 (12:45 +0300)
commitba713346645091a186bf3c0934fa8d402417ae4b
tree16eef451a83ccc418c5dd3ca874e43127a605325
parentf0c49528fbfdac9037f74860752d26338d5da7b7
platform/x86: mlx-platform: Add more definitions for system attributes

Add new attributes for the all type systems specifying for each
equipped CPLD device, the CPLD part number and the CPLD minor version
of the device: 'cpld{n}_pn' and 'cpld{n}_version_min'.
This information is to be used for mathcing the current CPLD image and
for making decision if image upgrade is required for CPLD device.

Signed-off-by: Vadim Pasternak <vadimp@mellanox.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
drivers/platform/x86/mlx-platform.c