nfit-test: Add platform cap support from ACPI 6.2a to test
authorDave Jiang <dave.jiang@intel.com>
Wed, 31 Jan 2018 19:45:55 +0000 (12:45 -0700)
committerRoss Zwisler <ross.zwisler@linux.intel.com>
Thu, 1 Feb 2018 22:01:15 +0000 (15:01 -0700)
commitf81e1d35a6e36d30888c46283b8dd1022e847124
tree6c4fbac27750cc0c6fe3bab1739149140a6a5611
parent96c3a239054a367d1a18581384985ab9e97c5ce7
nfit-test: Add platform cap support from ACPI 6.2a to test

Adding NFIT platform capabilities sub table in nfit_test simulated ACPI
NFIT table. Only the first NFIT table is added with the capability
sub-table.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Ross Zwisler <ross.zwisler@linux.intel.com>
Signed-off-by: Ross Zwisler <ross.zwisler@linux.intel.com>
tools/testing/nvdimm/test/nfit.c