]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
env: ti: boot: Respect slot_suffix in AVB commands
authorSam Protsenko <joe.skb7@gmail.com>
Fri, 24 Jan 2020 15:53:47 +0000 (17:53 +0200)
committerLokesh Vutla <lokeshvutla@ti.com>
Tue, 4 Feb 2020 03:37:24 +0000 (09:07 +0530)
Signed-off-by: Sam Protsenko <joe.skb7@gmail.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
include/environment/ti/boot.h

index 6313f3e328a07fd91b075dbb478b929522110738..bfbd76c3afb8a54fb93fd411a726b553b42aaf1a 100644 (file)
@@ -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 ""