arm64: booti: add missing unmap_sysmem()
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Tue, 29 Mar 2016 10:51:57 +0000 (19:51 +0900)
committerTom Rini <trini@konsulko.com>
Fri, 1 Apr 2016 21:17:57 +0000 (17:17 -0400)
commit62022d5206a284e8fb7f205b4baa7f2550ee9a35
tree8c96702c256a368181672674829c060dded4ad22
parent27ce6965389fd2ee2104f3c0d75695b34a232f45
arm64: booti: add missing unmap_sysmem()

Make sure to call unmap_sysmem() for address allocated by map_sysmem()
before leaving the function; however this patch gives no impact on
the behavior because map_sysmem()/unmap_sysmem() does nothing except
on Sandbox.  Sandbox never runs this code because "booti" is a command
for booting ARM64 kernel image.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
cmd/bootm.c