[PATCH] bootm: release tee_res

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When a tee_res has been acquired it must be released when bootm returns
(for dryrun)

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 common/bootm.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/common/bootm.c b/common/bootm.c
index d7232f6afa..b50b76ed6f 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)
-- 
2.23.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux