From: Mattijs Korpershoek Date: Thu, 29 Jul 2021 07:21:10 +0000 (+0200) Subject: configs: meson64_android: use CONFIG_FASTBOOT_USB_DEV X-Git-Tag: v2021.10~57^2~18 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=75be1ebf2ec09fdbd7562c2b7a86be302cdbd04d;p=platform%2Fkernel%2Fu-boot.git configs: meson64_android: use CONFIG_FASTBOOT_USB_DEV Right now, when running fastboot we use a hard-coded "0" for the device number. Use the Kconfig option named CONFIG_FASTBOOT_USB_DEV instead. Signed-off-by: Guillaume La Roque Signed-off-by: Mattijs Korpershoek Acked-by: Neil Armstrong Signed-off-by: Neil Armstrong --- diff --git a/include/configs/meson64_android.h b/include/configs/meson64_android.h index 661de76..4027a7f 100644 --- a/include/configs/meson64_android.h +++ b/include/configs/meson64_android.h @@ -38,7 +38,7 @@ "fi;" \ "if test \"${run_fastboot}\" -eq 1; then " \ "echo Running Fastboot...;" \ - "fastboot 0;" \ + "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \ "fi\0" #define BOOTENV_DEV_NAME_FASTBOOT(devtypeu, devtypel, instance) \ @@ -69,7 +69,7 @@ "fi;" \ "if test \"${run_recovery}\" -eq 1; then " \ "echo Running Recovery...;" \ - "fastboot 0;" \ + "fastboot " __stringify(CONFIG_FASTBOOT_USB_DEV) "; " \ "fi\0" #define BOOTENV_DEV_NAME_RECOVERY(devtypeu, devtypel, instance) \