summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-08-22 09:56:23 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-08-23 10:10:05 +0200
commit1cf0d514db41bd3729c14253a62f33e74ef1a43e (patch)
treef14cf66ac6e05745e5e36f55406d3e360e4b0d01 /include
parent5f04e5e03e941c8cae4f42f670abba847bfbcf9d (diff)
downloadbarebox-1cf0d514db41bd3729c14253a62f33e74ef1a43e.tar.gz
barebox-1cf0d514db41bd3729c14253a62f33e74ef1a43e.tar.xz
pbl: Move piggy verification into pbl_barebox_uncompress()
piggy verification is a direct prerequisite of uncompressing the piggydata, so move the verification there. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/pbl.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/pbl.h b/include/pbl.h
index 1917a7633f..787bd8293f 100644
--- a/include/pbl.h
+++ b/include/pbl.h
@@ -11,8 +11,6 @@ extern unsigned long free_mem_ptr;
extern unsigned long free_mem_end_ptr;
void pbl_barebox_uncompress(void *dest, void *compressed_start, unsigned int len);
-int pbl_barebox_verify(void *compressed_start, unsigned int len, void *hash,
- unsigned int hash_len);
#ifdef __PBL__
#define IN_PBL 1