x86: Enable multi-core init for Minnowboard MAX
[platform/kernel/u-boot.git] / arch / arm / include / asm / arch-sunxi / usbc.h
1 /*
2  * Sunxi usb-controller code shared between the ehci and musb controllers
3  *
4  * Copyright (C) 2014 Roman Byshko
5  *
6  * Roman Byshko <rbyshko@gmail.com>
7  *
8  * Based on code from
9  * Allwinner Technology Co., Ltd. <www.allwinnertech.com>
10  *
11  * SPDX-License-Identifier:     GPL-2.0+
12  */
13
14 extern const struct musb_platform_ops sunxi_musb_ops;
15
16 void *sunxi_usbc_get_io_base(int index);
17 int sunxi_usbc_request_resources(int index);
18 int sunxi_usbc_free_resources(int index);
19 void sunxi_usbc_enable(int index);
20 void sunxi_usbc_disable(int index);
21 void sunxi_usbc_vbus_enable(int index);
22 void sunxi_usbc_vbus_disable(int index);
23 int sunxi_usbc_vbus_detect(int index);
24 void sunxi_usbc_enable_squelch_detect(int index, int enable);