diff options
author | Claudio Carvalho <cclaudio@linux.vnet.ibm.com> | 2016-10-31 01:11:41 -0200 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-11-02 16:48:37 +1100 |
commit | 20db137e82039f9dafd42352525f1e8a8b7995ea (patch) | |
tree | 3402737360f5ee8d480baed5299b875db4bfef42 /core/flash.c | |
parent | 3dc16bb7cae2af752466f38ec928f75279da03f6 (diff) | |
download | blackbird-skiboot-20db137e82039f9dafd42352525f1e8a8b7995ea.tar.gz blackbird-skiboot-20db137e82039f9dafd42352525f1e8a8b7995ea.zip |
libstb: remove subid argument from sb_verify and tb_measure
We always verify and measure an image as a whole, never its subpartition
(if exists).
This removes the subid argument from sb_verify() and tb_measure()
functions, and also reflects the change to the callers, STB interface
and STB documentation.
Signed-off-by: Claudio Carvalho <cclaudio@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/flash.c')
-rw-r--r-- | core/flash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/flash.c b/core/flash.c index a704380d..5ab7fc85 100644 --- a/core/flash.c +++ b/core/flash.c @@ -655,8 +655,8 @@ done_reading: * Verify and measure the retrieved PNOR partition as part of the * secure boot and trusted boot requirements */ - sb_verify(id, subid, buf, *len); - tb_measure(id, subid, buf, *len); + sb_verify(id, buf, *len); + tb_measure(id, buf, *len); /* Find subpartition */ if (subid != RESOURCE_SUBID_NONE) { |