]> git.sur5r.net Git - u-boot/blobdiff - arch/arm/cpu/armv7/omap-common/boot-common.c
Merge branch 'buildman' of git://git.denx.de/u-boot-x86
[u-boot] / arch / arm / cpu / armv7 / omap-common / boot-common.c
index f2f6897eb646dfaf2cefc982bcb9231ebf657e2c..bbc6bed7cac9bc765553093d3d6655afffbc15c7 100644 (file)
@@ -162,3 +162,13 @@ void arch_preboot_os(void)
        ahci_reset((void __iomem *)DWC_AHSATA_BASE);
 }
 #endif
+
+#if defined(CONFIG_CMD_FASTBOOT) && !defined(CONFIG_ENV_IS_NOWHERE)
+int fb_set_reboot_flag(void)
+{
+       printf("Setting reboot to fastboot flag ...\n");
+       setenv("dofastboot", "1");
+       saveenv();
+       return 0;
+}
+#endif