diff options
author | Vishal Verma <vishal.l.verma@intel.com> | 2017-06-28 23:25:00 +0300 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2017-06-29 23:50:38 +0300 |
commit | 14e494542636b7a685c5bf27e695e3bb9ec3fe7d (patch) | |
tree | ab04daf7eacbc7237c127c3052628c5cac729755 /drivers/nvdimm/nd.h | |
parent | 5e93746f065c49445cf8115007fc887789438ec0 (diff) | |
download | linux-14e494542636b7a685c5bf27e695e3bb9ec3fe7d.tar.xz |
libnvdimm, btt: BTT updates for UEFI 2.7 format
The UEFI 2.7 specification defines an updated BTT metadata format,
bumping the revision to 2.0. Add support for the new format, while
retaining compatibility for the old 1.1 format.
Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Linda Knippers <linda.knippers@hpe.com>
Cc: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd.h')
-rw-r--r-- | drivers/nvdimm/nd.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/nvdimm/nd.h b/drivers/nvdimm/nd.h index e802c877d783..e1b5715bd91f 100644 --- a/drivers/nvdimm/nd.h +++ b/drivers/nvdimm/nd.h @@ -195,6 +195,9 @@ struct nd_btt { u64 size; u8 *uuid; int id; + int initial_offset; + u16 version_major; + u16 version_minor; }; enum nd_pfn_mode { |