Convert CONFIG_SYS_INTERLAKEN et al to Kconfig
[platform/kernel/u-boot.git] / include / fastboot.h
index 8e9ee80..57daaf1 100644 (file)
@@ -38,6 +38,16 @@ enum {
 #if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_FORMAT)
        FASTBOOT_COMMAND_OEM_FORMAT,
 #endif
+#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_PARTCONF)
+       FASTBOOT_COMMAND_OEM_PARTCONF,
+#endif
+#if CONFIG_IS_ENABLED(FASTBOOT_CMD_OEM_BOOTBUS)
+       FASTBOOT_COMMAND_OEM_BOOTBUS,
+#endif
+#if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
+       FASTBOOT_COMMAND_ACMD,
+       FASTBOOT_COMMAND_UCMD,
+#endif
 
        FASTBOOT_COMMAND_COUNT
 };
@@ -53,15 +63,6 @@ enum fastboot_reboot_reason {
 };
 
 /**
- * BCB boot commands
- */
-static const char * const fastboot_boot_cmds[] = {
-       [FASTBOOT_REBOOT_REASON_BOOTLOADER] = "bootonce-bootloader",
-       [FASTBOOT_REBOOT_REASON_FASTBOOTD] = "boot-fastboot",
-       [FASTBOOT_REBOOT_REASON_RECOVERY] = "boot-recovery"
-};
-
-/**
  * fastboot_response() - Writes a response of the form "$tag$reason".
  *
  * @tag: The first part of the response
@@ -172,4 +173,7 @@ void fastboot_data_download(const void *fastboot_data,
  */
 void fastboot_data_complete(char *response);
 
+#if CONFIG_IS_ENABLED(FASTBOOT_UUU_SUPPORT)
+void fastboot_acmd_complete(void);
+#endif
 #endif /* _FASTBOOT_H_ */