summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-06-12 19:56:59 +0200
committerMarek Vasut <marex@denx.de>2015-07-22 08:57:53 +0200
commit17da3c0c8cad2a40903c078d178cd663d73ccc7c (patch)
tree3bc3214b5165febe077585d7c5485735d1cfede7 /arch
parent01acd6abbdd5a5951f68d08c245550c720ea6ad8 (diff)
downloadu-boot-imx-17da3c0c8cad2a40903c078d178cd663d73ccc7c.zip
u-boot-imx-17da3c0c8cad2a40903c078d178cd663d73ccc7c.tar.gz
u-boot-imx-17da3c0c8cad2a40903c078d178cd663d73ccc7c.tar.bz2
usb: Fastboot function config for better consistency with other functions
USB download gadget functions such as thor and dfu have a separate config option for the USB gadget part of the code, independent from the command part. This switches the fastboot USB gadget to the same scheme, for better consistency. Signed-off-by: Paul Kocialkowski <contact@paulk.fr> Tested-by: Lukasz Majewski <l.majewski@samsung.com> Test HW: Odroid_XU3 (Exynos5422), trats (Exynos4210)
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv7/omap-common/boot-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/boot-common.c b/arch/arm/cpu/armv7/omap-common/boot-common.c
index bbc6bed..7fc0a56 100644
--- a/arch/arm/cpu/armv7/omap-common/boot-common.c
+++ b/arch/arm/cpu/armv7/omap-common/boot-common.c
@@ -163,7 +163,7 @@ void arch_preboot_os(void)
}
#endif
-#if defined(CONFIG_CMD_FASTBOOT) && !defined(CONFIG_ENV_IS_NOWHERE)
+#if defined(CONFIG_USB_FUNCTION_FASTBOOT) && !defined(CONFIG_ENV_IS_NOWHERE)
int fb_set_reboot_flag(void)
{
printf("Setting reboot to fastboot flag ...\n");