blob: 84073769132538d3d5d9518996b4393367dc41ae [file] [log] [blame] [edit]
#ifndef _FASTBOOT_H_
#define _FASTBOOT_H_
#define LOCK_MAJOR_VERSION 1
#define LOCK_MINOR_VERSION 0
#define RESPONSE_LEN (64 + 1)
void fastboot_fail(const char *s);
void fastboot_okay(const char *s);
// Will be set to true once fastboot detects a host USB connection.
// Does not currently detect disconnections, so will stay true even if the
// USB cable is unplugged afterwards.
extern bool fastboot_host_connected;
#endif/*_FASTBOOT_H_*/