summaryrefslogtreecommitdiff
path: root/common/image-android.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/image-android.c')
-rw-r--r--common/image-android.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/common/image-android.c b/common/image-android.c
index d2ad997..d79de0f 100644
--- a/common/image-android.c
+++ b/common/image-android.c
@@ -118,6 +118,14 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify,
sprintf(newbootargs, " androidboot.slot_suffix=%s", get_slot_suffix());
strcat(commandline, newbootargs);
#endif
+#ifdef CONFIG_AVB_SUPPORT
+ /* secondary cmdline added by avb */
+ char *bootargs_sec = getenv("bootargs_sec");
+ if (bootargs_sec) {
+ strcat(commandline, " ");
+ strcat(commandline, bootargs_sec);
+ }
+#endif
setenv("bootargs", commandline);
if (os_data) {