diff mbox series

[U-Boot,5/7] env: ti: boot: Respect slot_suffix in AVB commands

Message ID 20190919172822.8255-6-semen.protsenko@linaro.org
State Superseded
Delegated to: Tom Rini
Headers show
Series am57xx: Implement Android 10 boot flow | expand

Commit Message

Sam Protsenko Sept. 19, 2019, 5:28 p.m. UTC
Signed-off-by: Sam Protsenko <semen.protsenko@linaro.org>
---
 include/environment/ti/boot.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/environment/ti/boot.h b/include/environment/ti/boot.h
index 684a744f31..da99215fbd 100644
--- a/include/environment/ti/boot.h
+++ b/include/environment/ti/boot.h
@@ -63,7 +63,7 @@ 
 			"else " \
 				"echo AVB verification failed.;" \
 			"exit; fi;"
-#define AVB_VERIFY_CMD "avb_verify=avb init 1; avb verify;\0"
+#define AVB_VERIFY_CMD "avb_verify=avb init 1; avb verify $slot_suffix;\0"
 #else
 #define AVB_VERIFY_CHECK ""
 #define AVB_VERIFY_CMD ""