]> git.dujemihanovic.xyz Git - u-boot.git/commit
stm32mp1: spl: Update optee_get_reserved_memory() return value
authorPatrice Chotard <patrice.chotard@foss.st.com>
Tue, 11 Jun 2024 09:52:39 +0000 (11:52 +0200)
committerPatrice Chotard <patrice.chotard@foss.st.com>
Fri, 14 Jun 2024 11:25:06 +0000 (13:25 +0200)
commit12dfaa101b852b026ae5a7d14faeec08c73a279b
treedf4402b5a2569d6e4a735bfb22cdda7cc86d124c
parent9c9eeb6e37035f237a24b3e7fca3a38121dd747f
stm32mp1: spl: Update optee_get_reserved_memory() return value

In case node "/reserved-memory/optee" is not found, return -ENOENT
instead of 0.

Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/stm32mp1/spl.c