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.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/common/image-android.c b/common/image-android.c
index 1d09299cee..d8407d4ed5 100644
--- a/common/image-android.c
+++ b/common/image-android.c
@@ -20,12 +20,6 @@
static char andr_tmp_str[ANDR_BOOT_ARGS_SIZE + 1];
-#ifdef CONFIG_FSL_BOOTCTL
-#include <linux/usb/ch9.h>
-#include <linux/usb/gadget.h>
-#include "../drivers/usb/gadget/bootctrl.h"
-#endif
-
static ulong android_image_get_kernel_addr(const struct andr_img_hdr *hdr)
{
/*
@@ -128,10 +122,6 @@ int android_image_get_kernel(const struct andr_img_hdr *hdr, int verify,
strcat(commandline, newbootargs);
}
-#ifdef CONFIG_FSL_BOOTCTL
- 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");