summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-09-11 14:35:40 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2019-09-12 10:29:17 +0200
commitfc45db983faa9b6731c2c57d117339c0063778b4 (patch)
treed137f740eecf81404a7fdd85b5b7356d11ff844d
parent828508ea8ab53c7741b2e890972ce624fb995e23 (diff)
downloadbarebox-fc45db983faa9b6731c2c57d117339c0063778b4.tar.gz
bootm: release tee_res
When a tee_res has been acquired it must be released when bootm returns (for dryrun) Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Reviewed-by: Rouven Czerwinski <r.czerwinski@pengutronix.de>
-rw-r--r--common/bootm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/bootm.c b/common/bootm.c
index d7232f6..b50b76e 100644
--- a/common/bootm.c
+++ b/common/bootm.c
@@ -682,6 +682,8 @@ err_out:
release_sdram_region(data->initrd_res);
if (data->oftree_res)
release_sdram_region(data->oftree_res);
+ if (data->tee_res)
+ release_sdram_region(data->tee_res);
if (data->initrd && data->initrd != data->os)
uimage_close(data->initrd);
if (data->os)