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 /libstb/stb.h | |
parent | 3dc16bb7cae2af752466f38ec928f75279da03f6 (diff) | |
download | skiboot-20db137e82039f9dafd42352525f1e8a8b7995ea.zip skiboot-20db137e82039f9dafd42352525f1e8a8b7995ea.tar.gz skiboot-20db137e82039f9dafd42352525f1e8a8b7995ea.tar.bz2 |
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 'libstb/stb.h')
-rw-r--r-- | libstb/stb.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libstb/stb.h b/libstb/stb.h index 2141cf1..6ca44ea 100644 --- a/libstb/stb.h +++ b/libstb/stb.h @@ -39,7 +39,6 @@ extern int stb_final(void); /** * sb_verify - verify a resource * @id : resource id - * @subid: subpartition id * @buf : data to be verified * @len : buf length * @@ -51,13 +50,12 @@ extern int stb_final(void); * * returns: 0 otherwise the boot process is aborted */ -extern int sb_verify(enum resource_id id, uint32_t subid, void *buf, size_t len); +extern int sb_verify(enum resource_id id, void *buf, size_t len); /** * tb_measure - measure a resource * @id : resource id - * @subid : subpartition id * @buf : data to be measured * @len : buf length * @@ -69,7 +67,6 @@ extern int sb_verify(enum resource_id id, uint32_t subid, void *buf, size_t len) * * returns: 0 or an error as defined in status_codes.h */ -extern int tb_measure(enum resource_id id, uint32_t subid, void *buf, - size_t len); +extern int tb_measure(enum resource_id id, void *buf, size_t len); #endif /* __STB_H */ |