xref: /freebsd/sys/arm/rockchip/rk32xx_mp.h (revision 95ee2897e98f5d444f26ed2334cc7c439f9c16c6)
1b0352107SMichal Meloun /*-
2*4d846d26SWarner Losh  * SPDX-License-Identifier: BSD-2-Clause
3b0352107SMichal Meloun  *
4b0352107SMichal Meloun  * Copyright (c) 2019 Michal Meloun <mmel@FreeBSD.org>
5b0352107SMichal Meloun  *
6b0352107SMichal Meloun  * Redistribution and use in source and binary forms, with or without
7b0352107SMichal Meloun  * modification, are permitted provided that the following conditions
8b0352107SMichal Meloun  * are met:
9b0352107SMichal Meloun  * 1. Redistributions of source code must retain the above copyright
10b0352107SMichal Meloun  *    notice, this list of conditions and the following disclaimer.
11b0352107SMichal Meloun  * 2. Redistributions in binary form must reproduce the above copyright
12b0352107SMichal Meloun  *    notice, this list of conditions and the following disclaimer in the
13b0352107SMichal Meloun  *    documentation and/or other materials provided with the distribution.
14b0352107SMichal Meloun  *
15b0352107SMichal Meloun  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16b0352107SMichal Meloun  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17b0352107SMichal Meloun  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18b0352107SMichal Meloun  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19b0352107SMichal Meloun  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20b0352107SMichal Meloun  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21b0352107SMichal Meloun  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22b0352107SMichal Meloun  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23b0352107SMichal Meloun  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24b0352107SMichal Meloun  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25b0352107SMichal Meloun  * SUCH DAMAGE.
26b0352107SMichal Meloun  */
27b0352107SMichal Meloun 
28b0352107SMichal Meloun #ifndef _RK32XX_MP_H_
29b0352107SMichal Meloun #define	_RK32XX_MP_H_
30b0352107SMichal Meloun 
31b0352107SMichal Meloun void rk32xx_mp_setmaxid(platform_t plat);
32b0352107SMichal Meloun void rk32xx_mp_start_ap(platform_t plat);
33b0352107SMichal Meloun 
34b0352107SMichal Meloun #endif /* _RK32XX_MP_H_ */
35