summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/bootctrl.h
blob: 215310339eb9ef86aeaee5ea8fc414b9c82d1e66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * Copyright (C) 2015-2016 Freescale Semiconductor, Inc.
 *
 * SPDX-License-Identifier:     GPL-2.0+
 */

#ifndef BOOTCTRL_H
#define BOOTCTRL_H

void set_mmc_id(unsigned int id);
char *select_slot(void);
bool is_sotvar(char *cmd);
void get_slotvar(char *cmd, char *response, size_t chars_left);
void cb_set_active(struct usb_ep *ep, struct usb_request *req);
const char *get_slot_suffix(void);

#endif